| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349 |
- syntax = "proto3";
- package ET;
- message G2C_TestMessage // IMessage
- {
- string Content = 1; // 消息内容
- }
- message R2C_TestMessage // IMessage
- {
- string Content = 1; // 消息内容
- }
- //ResponseType R2C_Test
- message C2R_Test // IRequest
- {
- int32 RpcId = 90;
- string Content = 1; // 消息内容
- }
- message R2C_Test // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Content = 1; // 消息内容
- }
- message C2M_TestActorLocationMessage // IActorLocationMessage
- {
- int32 RpcId = 90;
- string Content = 1; // 消息内容
- }
- message M2C_TestActorMessage // IActorMessage
- {
- string Content = 1; // 消息内容
- }
- //ResponseType M2C_TestActorLocationResponse
- message C2M_TestActorLocationRequest // IActorLocationRequest
- {
- int32 RpcId = 90;
- string Request = 1; // 消息内容
- }
- message M2C_TestActorLocationResponse // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Response = 1; // 消息内容
- }
- //ResponseType M2C_TestRobotCase
- message C2M_TestRobotCase // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 N = 1;
- }
- message M2C_TestRobotCase // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 N = 1;
- }
- //ResponseType G2C_Ping
- message C2G_Ping // IRequest
- {
- int32 RpcId = 90;
- }
- message G2C_Ping // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 Time = 1;
- }
- //ResponseType M2C_Reload
- message C2M_Reload // IRequest
- {
- int32 RpcId = 90;
- string Account = 1;
- string Password = 2;
- }
- message M2C_Reload // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //ResponseType A2C_Register
- message C2A_Register // IRequest
- {
- int32 RpcId = 90;
- string Account = 1; // 帐号
- string Password = 2; // 密码
- string Name = 3; //名称
- string IdentityNum = 4; //身份证号
- string Code = 5; //验证码
- int32 PlatformId = 6; //平台id
- int32 ChannelId = 7; //渠道id
- }
- message A2C_Register // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知服务端发送手机验证码
- //ResponseType S2C_GetMobileVerificationCode
- message C2S_GetMobileVerificationCode // IRequest
- {
- int32 RpcId = 90;
- string PhoneNumber = 1; //手机号码
- }
- message S2C_GetMobileVerificationCode // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string PhoneNumber = 1; //手机号码
- }
- //ResponseType A2C_LoginAccount
- message C2A_LoginAccount // IRequest
- {
- int32 RpcId = 90;
- string Account = 1;
- string Password = 2;
- string Version = 3;
- int32 PlatformId = 4; //平台id
- int32 ChannelId = 5; //渠道id
- bool CancelDelete = 6;
- }
- message A2C_LoginAccount // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Token = 1;
- int64 AccountId = 2;
- int32 Age = 3;
- int64 DeleteTime = 4; //删除时间,单位毫秒
- string PhoneNumber = 5; //返回手机号码
- }
- //测试登录
- //ResponseType A2C_LoginAccount
- message C2A_LoginTest // IRequest
- {
- int32 RpcId = 90;
- string Account = 1;
- string Version = 2;
- int32 PlatformId = 3; //平台id
- int32 ChannelId = 4; //渠道id
- string Token = 5;
- bool CancelDelete = 6;
- }
- //请求删除账号
- //ResponseType A2C_ReqDeleteAccount
- message C2A_ReqDeleteAccount // IRequest
- {
- int32 RpcId = 90;
- string Account = 1; // 帐号
- string Password = 2; // 密码
- string Name = 3; //名称
- string IdentityNum = 4; //身份证号
- string Code = 5; //验证码
- int32 PlatformId = 6; //平台id
- int32 ChannelId = 7; //渠道id
- }
- message A2C_ReqDeleteAccount // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message A2C_Disconnect // IMessage
- {
- int32 Error = 91;
- string Message = 92;
- }
- message ServerInfoProto
- {
- int32 Id = 1;
- int32 Status = 2;
- string ServerName = 3;
- int64 OpenServerTime = 4; //毫秒级开服时间戳
- }
- //ResponseType A2C_GetServerInfos
- message C2A_GetServerInfos // IRequest
- {
- int32 RpcId = 90;
- string Token = 1;
- int64 AccountId = 2;
- }
- message A2C_GetServerInfos // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ServerInfoProto ServerInfosList = 1;
- int32 RecentId = 2; //最近登录的服务器Id
- }
- message RoleInfoProto
- {
- int64 Id = 1;
- string Name = 2;
- int32 State = 3;
- int64 AccountId = 4;
- int64 LastLoginTime = 5; //上次登录时间,单位:毫秒
- int64 CreateTime = 6; //创建时间,单位:毫秒
- int32 ServerId = 7;
- }
- //ResponseType A2C_CreateRole
- message C2A_CreateRole // IRequest
- {
- int32 RpcId = 90;
- string Token = 1;
- int64 AccountId = 2;
- string Name = 3;
- int32 ServerId = 4;
- }
- message A2C_CreateRole // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- RoleInfoProto RoleInfo = 1;
- }
- //ResponseType A2C_GetRoles
- message C2A_GetRoles // IRequest
- {
- int32 RpcId = 90;
- string Token = 1;
- int64 AccountId = 2;
- int32 ServerId = 3;
- }
- message A2C_GetRoles // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated RoleInfoProto RoleInfos = 1;
- }
- //ResponseType A2C_DeleteRole
- message C2A_DeleteRole // IRequest
- {
- int32 RpcId = 90;
- string Token = 1;
- int64 AccountId = 2;
- int64 RoleInfoId = 3;
- int32 ServerId = 4;
- }
- message A2C_DeleteRole // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 DeleteRoleInfoId = 1;
- }
- //ResponseType A2C_GetRealmKey
- message C2A_GetRealmKey // IRequest
- {
- int32 RpcId = 90;
- string Token = 1;
- int32 ServerId = 2;
- int64 AccountId = 3;
- }
- message A2C_GetRealmKey // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string RealmKey = 1;
- string RealmAddress = 2;
- }
- //请求最新的系统公告
- //ResponseType A2C_GetLatestNotice
- message C2A_GetLatestNotice // IRequest
- {
- int32 RpcId = 90;
- }
- message A2C_GetLatestNotice // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 NoticeId = 1; //公告id
- string Title = 2; //标题
- int64 TimeSec = 3; //时间戳,单位秒
- string Content = 4; //公告内容
- }
- //请求随机角色名字
- //ResponseType A2C_GetRandomRoleName
- message C2A_GetRandomRoleName // IRequest
- {
- int32 RpcId = 90;
- int32 ServerId = 1;
- }
- message A2C_GetRandomRoleName // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Name = 1; //随机的角色名
- }
- //ResponseType R2C_LoginRealm
- message C2R_LoginRealm // IRequest
- {
- int32 RpcId = 90;
- int64 AccountId = 1;
- string RealmTokenKey = 2;
- }
- message R2C_LoginRealm // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string GateSessionKey = 1;
- string GateAddress = 2;
- }
- //ResponseType G2C_LoginGate
- message C2G_LoginGate // IRequest
- {
- int32 RpcId = 90;
- string Key = 1;
- int64 RoleId = 2;
- int64 AccountId = 3;
- }
- message G2C_LoginGate // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 PlayerId = 1;
- }
- //ResponseType G2C_EnterGame
- message C2G_EnterGame // IRequest
- {
- int32 RpcId = 1;
- }
- message G2C_EnterGame // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- //自己的UnitId
- int64 MyId = 1; //无用
- bool InQueue = 2; //是否需要排队
- int32 Count = 3; //排队总人数
- int32 Index = 4; //排到第几位
- }
- message M2C_StartSceneChange // IActorMessage
- {
- int64 SceneInstanceId = 1;
- string SceneName = 2;
- }
- message UnitInfo
- {
- int64 UnitId = 1;
- int32 Type = 2;
- repeated int32 Ks = 3; //数值组件key
- repeated int64 Vs = 4; //数值组件值
- }
- message M2C_CreateMyUnit // IActorMessage
- {
- UnitInfo Unit = 1;
- }
- message M2C_NoticeUnitNumeric // IActorMessage
- {
- int64 UnitId = 1;
- int32 NumericType = 2;
- int64 NewValue = 3;
- }
- //ResponseType M2C_TestUnitNumric
- message C2M_TestUnitNumric // IActorLocationRequest
- {
- int32 RpcId = 1;
- }
- message M2C_TestUnitNumric // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //ResponseType M2C_AddAttributePoint
- message C2M_AddAtributePoint // IActorLocationRequest
- {
- int32 RpcId = 1;
- int32 NumericType = 2;
- }
- message M2C_AddAttributePoint // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //物品信息
- message ItemInfoProto
- {
- int32 ConfigId = 1;
- int64 Count = 2;
- int32 Type = 3;
- int32 SubType = 4;
- int32 Rarity = 5;
- }
- message ItemAttributeProto
- {
- int32 ConfigId = 1;
- repeated int32 Ks = 2;
- repeated int32 Vs = 3;
- }
- //ResponseType M2C_GetItemAttributeInfos
- message C2M_GetItemAttributeInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetItemAttributeInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemAttributeProto ItemAtrributes = 1;
- }
- message M2C_NoticeUnitItem // IActorMessage
- {
- ItemInfoProto Item = 1;
- }
- message M2C_NoticeUnitItemAttribute // IActorMessage
- {
- int64 UnitId = 1;
- int32 ConfigId = 2;
- int32 Key = 3; // key = typeAttribute * 10 + typeAction
- int32 NewValue = 4;
- }
- //ResponseType M2C_GM
- message C2M_GM // IActorLocationRequest
- {
- int32 RpcId = 1;
- string message = 2;
- }
- message M2C_GM // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message SuitInfoProto
- {
- int32 SuitId = 1;
- int32 GuideBoxBonusState = 2;
- int32 SyntheticBoxBonusState = 3;
- int32 MaintainStep = 4; //养护步骤,0表示未养护
- repeated int32 MaintainBonusSteps = 5; //已领取的奖励步骤
- int32 MakeNewState = 6; //焕新状态,0表示未焕新
- int32 PartsCount = 7; //收集的件数
- bool CollectedAll = 8; //是否集齐
- int32 BringTogetherRewardStatus = 9; //套装集齐奖励状态: 0未领取 1可领取 2已领取
- }
- //ResponseType M2C_GetSuitInfos
- message C2M_GetSuitInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetSuitInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated SuitInfoProto SuitInfos = 1;
- }
- //ResponseType M2C_MaintainSuit
- message C2M_MaintainSuit // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1; //套装id
- int32 MaintainStep = 2;
- }
- message M2C_MaintainSuit // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 MaintainStep = 1;
- }
- //ResponseType M2C_GetMaintainSuitBonus
- message C2M_GetMaintainSuitBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1;
- int32 MaintainStep = 2;
- }
- message M2C_GetMaintainSuitBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 MaintainStep = 1;
- }
- //ResponseType M2C_MakeNewSuit
- message C2M_MakeNewSuit // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1;
- }
- message M2C_MakeNewSuit // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 MakeNewState = 1;
- }
- //请求领取图鉴套装奖励
- //ResponseType M2C_GetSuitGuideBoxBonus
- message C2M_GetSuitGuideBoxBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1;
- }
- message M2C_GetSuitGuideBoxBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 SuitId = 1;
- }
- //请求领取合成套装奖励
- //ResponseType M2C_GetSuitSyntheticBoxBonus
- message C2M_GetSuitSyntheticBoxBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1;
- }
- message M2C_GetSuitSyntheticBoxBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 SuitId = 1;
- }
- //请求领取套装集齐奖励
- //ResponseType M2C_BringTogetherReward
- message C2M_GetBringTogetherReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1;
- }
- message M2C_BringTogetherReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 SuitId = 1;
- repeated ItemInfoProto RewardList = 2; //获得的东西
- }
- //推送套装集齐奖励状态
- message M2C_PushBringTogetherRewardState // IActorMessage
- {
- int32 SuitId = 1; // 套装id
- int32 BringTogetherRewardStatus = 2; //奖励状态 0不可以领取 1可以领取 2已经领取
- }
- //请求主线剧情关卡数据
- //ResponseType M2C_GetMainStoryInfos
- message C2M_GetMainStoryInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetMainStoryInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 KsBonusState = 5;
- repeated int32 VsBonusState = 6; //v1+v2*10+v3*10*2
- }
- //推送主线剧情宝箱奖励状态
- message M2C_NoticeMainStoryBoxBonusState // IActorMessage
- {
- int32 ChapterId = 1; // 章节配置Id
- int32 BoxStates = 2; //章节宝箱状态 //v1+v2*10+v3*10*2
- }
- //请求领取主线剧情宝箱奖励
- //ResponseType M2C_GetMainStoryBoxBonus
- message C2M_GetMainStoryBoxBonus //IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ChapterId = 1; // 章节配置Id
- int32 Index = 2; //宝箱索引
- }
- message M2C_GetMainStoryBoxBonus //IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ChapterId = 1; // 章节配置Id
- int32 Index = 2; //宝箱索引
- int32 BoxStates = 3; //章节宝箱状态 //v1+v2*10+v3*10*2
- }
- //关卡数据&最高分玩家数据实体
- message LevelRoleInfoProto
- {
- int32 LevelId = 1; //关卡id
- string RoleName = 2; //玩家名称
- int32 HeadItemId = 3; //头像物品id
- int32 HeadBorderItemId = 4; //头像框物品id
- }
- //请求通用关卡数据
- //ResponseType M2C_GetInstanceZonesInfos
- message C2M_GetInstanceZonesInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetInstanceZonesInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 ksScore = 1; //关卡id
- repeated int32 vsScore = 2; //分数
- repeated int32 ksStar = 3; //关卡id
- repeated int32 vsStar = 4; //星数
- repeated int32 ksPass = 7; //章节id
- repeated int32 VsPass = 8; //关卡id
- }
- //请求完成剧情对话关卡
- //ResponseType M2C_FinishInstanceZonesDialog
- message C2M_FinishInstanceZonesDialog // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LevelCfgId = 1; // 关卡配置Id
- }
- message M2C_FinishInstanceZonesDialog // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LevelCfgId = 1; // 关卡配置Id
- }
- //请求完成战斗关卡
- //ResponseType M2C_FinishInstanceZonesFightLevel
- message C2M_FinishInstanceZonesFightLevel // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LevelCfgId = 1; // 关卡配置Id
- int32 Score = 2;
- int32 NpcScore = 3;
- bool UseRecommend = 4; // 是否使用推荐
- }
- message M2C_FinishInstanceZonesFightLevel // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LevelCfgId = 1; // 关卡配置Id
- int32 Score = 2; //本次关卡分数
- int32 Star = 3; // 本次挑战星数
- bool HasOnceBonus = 4; // 是否有首通奖励
- repeated ItemInfoProto RandomBonusList = 6; //奖励
- }
- //战斗关卡失败时请求更新关卡最高分数
- //ResponseType M2C_FinishInstanceZonesFightLevelFail
- message C2M_FinishInstanceZonesFightLevelFail // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LevelCfgId = 1; // 关卡配置Id
- int32 Score = 2;
- }
- message M2C_FinishInstanceZonesFightLevelFail // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LevelCfgId = 1; // 关卡配置Id
- int32 Score = 2;
- }
- //请求快速完成战斗关卡
- //ResponseType M2C_FinishInstanceZonesFightQuickly
- message C2M_FinishInstanceZonesFightQuickly // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LevelCfgId = 1; // 关卡配置Id
- int32 Times = 2; //快速完成次数
- }
- message M2C_FinishInstanceZonesFightQuickly // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LevelCfgId = 1; // 关卡配置Id
- repeated int32 BonusLengths = 2; //每次奖励长度
- repeated ItemInfoProto RandomBonusList = 3; //奖励
- }
- //请求每日重置
- //ResponseType M2C_ResetDailyData
- message C2M_ResetDailyData // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_ResetDailyData // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //请求工作室副本数据
- //ResponseType M2C_GetStudioInfos
- message C2M_GetStudioInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetStudioInfos //IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated StudioInfoProto infos = 1;
- int32 RepairPorcelainTheme = 2; //瓷器修复主题
- int32 RepairPorcelainChapterId = 3; //瓷器修复章节Id
- }
- message StudioInfoProto
- {
- int32 ChapterId = 1;
- int32 ChapterScore = 2; //一章总分(只有查阅建档才有值)
- repeated int32 BonusStatusList = 3; //宝箱奖励状态,索引按照配置列表顺序索引,值由ConstBonusStatus定义(只有查阅建档才有值)
- }
- //请求工作室副本购买次数
- //ResponseType M2C_BuyStudioPlayTimes
- message C2M_BuyStudioPlayTimes // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ChapterId = 1;
- int32 BuyType = 2; // 购买类型,0道具,1货币
- int32 BuyCount = 3; //购买数量
- }
- message M2C_BuyStudioPlayTimes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ChapterId = 1;
- int32 BuyTimes = 2; //今日累计购买次数
- int32 TotalPlayTimes = 3; //可挑战次数
- }
- //推送工作室副本挑战次数
- message M2C_NoticeStudioPlayTimes // IActorMessage
- {
- int32 ChapterId = 1;
- int32 PlayTimes = 2; //已挑战次数
- }
- //请求商店信息
- //ResponseType S2C_RequestShopInfo
- message C2S_RequestShopInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_RequestShopInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 ks = 1; //商店购买id
- repeated int32 vs = 2; //已购买次数
- }
- //商店购买
- //ResponseType S2C_ShopBuy
- message C2S_ShopBuy // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 BuyId = 1; //购买项在商店里的编号id
- int32 Times = 2; //购买次数
- }
- message S2C_ShopBuy // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 BuyId = 1; //购买项在商店里的编号id
- int32 Times = 2; //购买次数
- int32 TotalTimes = 3; //总的购买次数
- //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
- string OrderId = 4; //订单号
- int64 Price = 5; //价格
- }
- //角色物品兑换
- //ResponseType M2C_ItemExchange
- message C2M_ItemExchange // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1; //兑换物品id
- int32 Times = 2; //兑换次数
- }
- message M2C_ItemExchange // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1;
- int32 ExchangedTimes = 2; // 已兑换次数
- }
- //获取自定义数值
- //ResponseType M2C_GetClientValues
- message C2M_GetClientValues // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetClientValues // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 Ks = 1;
- repeated int32 Vs = 2;
- }
- //设置自定义数值
- //ResponseType M2C_SetClientValue
- message C2M_SetClientValue // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Key = 1;
- int32 Value = 2;
- }
- message M2C_SetClientValue // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Key = 1;
- int32 Value = 2;
- }
- //抽奖(摘星)
- //ResponseType M2C_DrawLuckyBox
- message C2M_DrawLuckyBox // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LuckyBoxId = 1; //抽奖宝箱id
- int32 Times = 2; //本次抽奖次数
- bool Free = 3; //是否免费
- int32 ActivityId = 4; //活动id
- }
- message M2C_DrawLuckyBox // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LuckyBoxId = 1; //抽奖宝箱id
- int32 Times = 2; //本次抽奖次数
- repeated ItemInfoProto bonusList = 3; //奖励列表
- int32 ActivityId = 4; //活动id
- }
- //卡牌
- message CardInfoProto
- {
- int32 CardId = 1; //卡牌id
- int32 Lvl = 2; //卡牌等级
- int32 Exp = 3; //卡牌经验
- int32 Star = 4; //卡牌星数
- int32 ResIndex = 5; //卡牌牌面资源索引
- repeated int32 KsAttribute = 6; //属性key列表,由ConstItemAttributeType枚举
- repeated int32 VsAttribute = 7; //属性value列表
- repeated int32 KsSkill = 8; //技能id列表
- repeated int32 VsSkill = 9; //技能等级列表
- repeated int32 KsStarBonus = 10; //星级奖励列表key:星级
- repeated int32 VsStarBonus = 11; //星级奖励列表value:奖励状态由ConstBonusStatus定义
- int32 MainScore = 12;
- }
- //请求卡牌数据
- //ResponseType M2C_GetCardInfos
- message C2M_GetCardInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetCardInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated CardInfoProto CardInfos = 1;
- }
- //推送新获得的卡牌数据
- message M2C_GetNewCard // IActorMessage
- {
- CardInfoProto CardInfo = 1;
- }
- //卡牌升级
- //ResponseType M2C_UpgradeCardLvl
- message C2M_UpgradeCardLvl // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CardId = 1;
- repeated int32 ItemNums = 2; //升级使用的材料个数列表
- }
- message M2C_UpgradeCardLvl // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CardId = 1;
- int32 CardLvl = 2; //使用物品后的等级
- int32 CardExp = 3; //使用物品后的经验
- repeated int32 KsAttribute = 4; //属性key列表,由ConstItemAttributeType枚举
- repeated int32 VsAttribute = 5; //属性value列表
- }
- //卡牌升星
- //ResponseType M2C_UpgradeCardStar
- message C2M_UpgradeCardStar // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CardId = 1;
- bool IsAutoSelect = 2; //是否自动兑换材料
- }
- message M2C_UpgradeCardStar // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CardId = 1;
- int32 CardStar = 2; //升完后的卡牌星数
- repeated int32 KsAttribute = 3; //属性key列表,由ConstItemAttributeType枚举
- repeated int32 VsAttribute = 4; //属性value列表
- repeated int32 KsStarBonus = 5; //星级奖励列表key:星级
- repeated int32 VsStarBonus = 6; //星级奖励列表value:奖励状态由ConstBonusStatus定义
- bool IsAutoSelect = 7; //是否自动兑换材料
- }
- //卡牌升星保存 IsAutoSelect
- //ResponseType M2C_SaveIsAutoSelect
- message C2M_SaveIsAutoSelect // IActorLocationRequest
- {
- int32 RpcId = 90;
- bool IsAutoSelect = 1; //是否自动兑换材料
- }
- message M2C_SaveIsAutoSelect // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool IsAutoSelect = 2; //是否自动兑换材料
- }
- //领取卡牌星级奖励
- //ResponseType S2C_GetCardStarBonus
- message C2S_GetCardStarBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CardId = 1;
- int32 CardStar = 2;
- }
- message S2C_GetCardStarBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CardId = 1;
- int32 CardStar = 2;
- int32 BonusStatus = 3;
- }
- //卡牌更换卡面
- //ResponseType M2C_ChangeCardRes
- message C2M_ChangeCardRes // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CardId = 1;
- int32 ResIndex = 2; //卡牌牌面资源索引
- }
- message M2C_ChangeCardRes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //卡牌技能升级
- //ResponseType M2C_UpgradeCardSkill
- message C2M_UpgradeCardSkill // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CardId = 1;
- int32 SkillId = 2;
- int32 CostType = 3; //消耗类型 0:原来的PassivitySkillLvlCfg.materiars消耗材料 1:GeneralMaterialCfg的消耗材料
- }
- message M2C_UpgradeCardSkill // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CardId = 1;
- int32 SkillId = 2;
- int32 SkillLvl = 3; // 升级后的技能等级
- }
- //服装分解
- //ResponseType M2C_ClothingDecompose
- message C2M_ClothingDecompose // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 itemIds = 1; //物品id列表
- repeated int64 itemNums = 2; //物品个数列表
- }
- message M2C_ClothingDecompose // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto bonusList = 1; //奖励列表
- }
- //自定义套装
- message CustomSuitProto
- {
- int32 Pos = 1; //位置索引
- int32 BgId = 2; //背景id
- int32 SuitId = 3; //套装id
- int32 ActionId = 4; //动作id
- repeated int32 EquipIds = 5; //部件id列表
- }
- //ResponseType M2C_SaveCustomSuit
- message C2M_SaveCustomSuit // IActorLocationRequest
- {
- int32 RpcId = 90;
- CustomSuitProto suit = 1;
- }
- message M2C_SaveCustomSuit // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //套装合成
- //ResponseType M2C_ClothingSynthetic
- message C2M_ClothingSynthetic // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- }
- message M2C_ClothingSynthetic // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1;
- }
- //获取田野调查数据
- //ResponseType M2C_GetFieldInstanceInfos
- message C2M_GetFieldInstanceInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetFieldInstanceInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Theme = 1; //当前主题
- repeated int32 kHighestLvl = 2; //章节id列表
- repeated int32 vHighestLvl = 3; //最高关卡序号记录列表
- int32 BonusWeekly = 4; //每周已领奖励
- int32 BonusMaxLimit = 5; //奖励上限
- repeated int32 kTaskIds = 6; //任务id列表
- repeated int32 vTaskStatus = 7; //任务奖励状态 由ConstBonusStatus定义
- bool HasBonus = 8; //仅在上线时判断是否有奖励未结算
- }
- //请求田野副本结算
- //ResponseType M2C_GetFieldInstanceResult
- message C2M_GetFieldInstanceResult // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetFieldInstanceResult // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ChapterId = 1; //章节id
- int32 PassLvl = 2;//完成关数
- repeated ItemInfoProto BonusList = 3; //奖励列表
- int32 CostNum = 4; //体力消耗
- int32 HighestLvl = 5; //最高关卡记录
- int32 BonusWeekly = 6; //每周已领奖励
- repeated int32 kTaskIds = 7; //任务id列表
- repeated int32 vTaskStatus = 8; //任务奖励状态 由ConstBonusStatus定义
- }
- //请求领取田野任务奖励
- //ResponseType M2C_GetFieldTaskBonus
- message C2M_GetFieldTaskBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 TaskId = 1; //田野任务Id
- }
- message M2C_GetFieldTaskBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 TaskId = 1; //田野任务Id
- int32 TaskStatus = 2; //任务奖励状态 由ConstBonusStatus定义
- int32 BonusMaxLimit = 3; //奖励上限
- }
- //服务端推送最新田野任务状态
- message S2C_FieldTaskBonus // IActorMessage
- {
- repeated int32 kTaskIds = 1; //任务id列表
- repeated int32 vTaskStatus = 2; //任务奖励状态 由ConstBonusStatus定义
- }
- //任务数据
- message TaskInfoProto
- {
- int32 Id = 1;
- int32 Status = 2; //任务奖励状态 由ConstBonusStatus定义
- int64 Progress = 3; //进度
- int32 FuncType = 4; //任务功能类型
- }
- //成就任务数据
- message AchieveTaskInfoProto
- {
- int32 AchievementType = 1;
- int32 AchievementSubType = 2;
- TaskInfoProto TaskInfo = 3;
- }
- //请求每日任务数据(包括每周任务)
- //ResponseType M2C_GetDailyTaskInfos
- message C2M_GetDailyTaskInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetDailyTaskInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 kLivenessBox = 1; //活跃度宝箱id列表
- repeated int32 vLivenessBox = 2; //活跃度宝箱状态 由ConstBonusStatus定义
- }
- //推送活跃度宝箱状态
- message M2C_LivenessBoxChange // IActorMessage
- {
- repeated int32 kLivenessBox = 1; //变化的活跃度宝箱id列表
- repeated int32 vLivenessBox = 2; //活跃度宝箱状态 由ConstBonusStatus定义
- }
- //请求领取活跃度宝箱
- //ResponseType M2C_GetLivenessBox
- message C2M_GetLivenessBox // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Id = 1; //活跃度宝箱id
- }
- message M2C_GetLivenessBox // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Id = 1;
- int32 Status = 2;
- }
- //请求每日签到奖励信息[旧的,客户端对接完新的后将会移除]
- //ResponseType M2C_GetDailySignInBonusInfos
- message C2M_GetDailySignInBonusInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetDailySignInBonusInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CuurentBonusId = 1; //当日奖励id
- int32 BonusStatus = 2; //当日奖励状态
- }
- //请求每日签到奖励信息列表[新的]
- //ResponseType M2C_GetDailySignInBonusInfoList
- message C2M_GetDailySignInBonusInfoList // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetDailySignInBonusInfoList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 KsBonusId = 1; //奖励ids,索引与 VsBonusStatus 的索引对应
- repeated int32 VsBonusStatus = 2; //奖励状态 由枚举 ConstBonusStatus
- }
- //请求领取每日签到奖励
- //ResponseType M2C_GetDailySinInBonus
- message C2M_GetDailySinInBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 BonusId = 1; //奖励id
- }
- message M2C_GetDailySinInBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 BonusId = 1;
- int32 BonusStatus = 2; //当日奖励状态
- }
- message SystemNoticeProto
- {
- int32 NoticeId = 1; //公告id
- string Title = 2; //标题
- int64 TimeSec = 3; //时间戳,单位秒
- bool ReadStatus = 4; //对应的读取状态,true为已读
- }
- //请求系统公告列表
- //ResponseType M2C_GetSystemNoticeList
- message C2M_GetSystemNoticeList // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetSystemNoticeList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated SystemNoticeProto NoticeList = 1; //公告列表
- }
- //请求系统公告内容
- //ResponseType M2C_GetSystemNotice
- message C2M_GetSystemNotice // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 NoticeId = 1; //公告id
- }
- message M2C_GetSystemNotice // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 NoticeId = 1; //公告id
- string Content = 2; //公告内容,需要设置邮件读取状态
- }
- //推送系统公告更新
- message M2C_SystemNoticeChanged // IActorMessage
- {
- SystemNoticeProto Notice = 1; //公告
- }
- //推送系统公告移除
- message M2C_SystemNoticeRemoved // IActorMessage
- {
- int32 NoticeId = 1; //公告id
- }
- //邮件==================================================================
- message MailProto
- {
- int64 MailId = 1; //邮件id
- string Tile = 2; //邮件标题
- int64 TimeSec = 3; //邮件时间戳,单位秒
- int32 Status = 4; //邮件状态 0未读, 1已读未领取,2已读已领取
- bool HasItem = 5; //是否有物品
- }
- message MailDetailProto
- {
- string Content = 1; //邮件内容
- repeated ItemInfoProto ItemList = 2; //邮件物品
- }
- //请求邮件数量
- //ResponseType Mail2C_GetMailCount
- message C2Mail_GetMailCount // IActorMailRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message Mail2C_GetMailCount // IActorMailResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 TotolCount = 1; //邮件总数
- int32 UnreadCount = 2; //未读邮件数量
- }
- //请求邮件标题列表
- //ResponseType Mail2C_GetMailList
- message C2Mail_GetMailList // IActorMailRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 StartIndex = 1; //起始索引,从0开始
- int32 Count = 2; //个数
- bool NeedSort = 3; //trur表示要重新排序
- }
- message Mail2C_GetMailList // IActorMailResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 StartIndex = 1;
- repeated MailProto mailList = 2; //邮件列表
- }
- //请求邮件内容
- //ResponseType Mail2C_GetMailData
- message C2Mail_GetMailData // IActorMailRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 MailId = 1;
- }
- message Mail2C_GetMailData // IActorMailResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 MailId = 1;
- MailDetailProto MailDetail = 2; //邮件内容
- int32 Status = 3;
- int32 UnreadCount = 4; //未读邮件数量
- }
- //请求领取奖励
- //ResponseType M2C_GetMailItems
- message C2M_GetMailItems // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 MailId = 1;
- }
- message M2C_GetMailItems // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 MailId = 1;
- int32 Status = 2;
- }
- //请求删除邮件
- //ResponseType Mail2C_DeleteMail
- message C2Mail_DeleteMail // IActorMailRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 MailId = 1;
- }
- message Mail2C_DeleteMail // IActorMailResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 MailId = 1;
- int32 TotolCount = 2; //邮件总数
- }
- //请求一键领取奖励
- //ResponseType M2C_GetAllMailItems
- message C2M_GetAllMailItems // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetAllMailItems // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto ItemList = 1; //所有领取的邮件物品,如果有物品领取客户端需重新请求邮件列表
- int32 UnreadCount = 2; //未读邮件数量
- }
- //请求一键删除邮件
- //ResponseType Mail2C_DeleteAllMails
- message C2Mail_DeleteAllMails // IActorMailRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message Mail2C_DeleteAllMails // IActorMailResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 DeleteCount = 1; //删除数量,如果大于0,客户端需重新请求邮件列表
- }
- //推送邮件数量变化,增删都是这一条
- message Mail2C_MailCountChanged // IActorMessage
- {
- int32 TotolCount = 1; //邮件总数
- int32 UnreadCount = 2; //未读邮件数量
- }
- //获取物品信息
- //ResponseType M2C_GetItemInfos
- message C2M_GetItemInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetItemInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 KsItemExchange = 1; // 物品兑换-物品id
- repeated int32 VsItemExchange = 2; //物品兑换-兑换次数
- repeated ItemInfoProto Items = 3; //物品个数
- repeated CustomSuitProto CustomSuits = 4; //自定义套装
- int32 CustomSuitPos = 5; //自定义套装当前存储位
- repeated int32 NewItems = 6; //新的物品
- repeated int32 KsItemExpire = 7; //物品过期时间-物品id
- repeated int64 VsItemExpire = 8; //物品过期时间-过期时间,单位毫秒
- }
- //个人信息===================================================
- //请求个人信息
- //ResponseType S2C_GetPersonalInfo
- message C2S_GetPersonalInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetPersonalInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Signature = 1; //个性签名
- repeated int64 PictureIds = 2; //返回最新的公开的相册的列表ids
- int32 HeadItemId = 3; //头像物品id
- int32 HeadBorderItemId = 4; //头像框物品id
- repeated int32 ItemList = 5; //佩戴中的徽章,顺序是客户端保存的顺序
- int32 MyMainBgId = 6; //主界面背景id. ps:大于999999,就是MainBackgroundCfg表的id,不然是ItemCfg表的id.
- int32 AchievementTaskCollect = 7; //成就收集度
- int32 TitleItemId = 8; //称号物品id
- }
- //修改个人签名
- //ResponseType S2C_ModifySignature
- message C2S_ModifySignature // IActorLocationRequest
- {
- int32 RpcId = 90;
- string Signature = 1; //个性签名
- }
- message S2C_ModifySignature // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Signature = 1; //个性签名
- }
- //保存佩戴的徽章
- //ResponseType S2C_UpWearBadges
- message C2S_UpWearBadges // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 ItemList = 1; //徽章
- }
- message S2C_UpWearBadges // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 ItemList = 1; //徽章
- }
- //保存主界面
- //ResponseType S2C_UpMyMainBg
- message C2S_UpMyMainBg // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 MyMainBgId = 1; //主界面背景id
- }
- message S2C_UpMyMainBg // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 MyMainBgId = 1; //主界面背景id
- }
- //激活码兑换奖励
- //ResponseType S2C_RedeemRewards
- message C2S_RedeemRewards // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ActivationCode = 1; //激活码
- }
- message S2C_RedeemRewards // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto ItemList = 1; //兑换奖励物品
- }
- //保存换装是否更换背景
- //ResponseType S2C_SaveChangeGearSwitch
- message C2S_SaveChangeGearSwitch // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Switch = 1;
- }
- message S2C_SaveChangeGearSwitch // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Switch = 1;
- }
- //其他玩家===================================================
- //其他玩家摘要信息
- message OtherRoleInfoProto
- {
- int64 RoleId = 1; //角色编号
- string RoleName = 2; //角色名称
- int32 RoleLvl = 3; //角色等级
- int64 OfflineTimeSec = 4; //离线时间戳,单位秒,0表示在线
- int32 HeadItemId = 5; //头像物品id
- int32 HeadBorderItemId = 6; //头像框物品id
- int32 ServerId = 7;
- int32 PlatFormId = 8;
- int32 ChannelId = 9;
- int64 AccountId = 10;
- string Account = 11;
- string LeagueName = 12; //联盟名称
- repeated int32 ItemList = 13; //佩戴中的徽章,顺序是客户端保存的顺序
- int32 SuitCollect = 14; //套装收集度
- int32 CardCollect = 15; //词牌收集度
- int32 AchievementTaskCollect = 16; //成就收集度
- int64 RoleExp = 17; //角色经验
- int32 TitleItemId = 18; //称号物品id
- }
- //请求其他玩家详细信息
- //ResponseType S2C_GetOtherRoleDetailInfo
- message C2S_GetOtherRoleDetailInfo // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 1; //自己的角色id,客户端可以不传
- int64 OtherRoleId = 2; //其他玩家的角色id
- }
- message S2C_GetOtherRoleDetailInfo // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Signature = 1; //个性签名
- CustomSuitProto CustomSuit = 2; //当前搭配套装
- repeated PictureInfoProto PictureInfoList = 3; //返回最新的公开的相册的列表
- string SuitCollectPer = 4; //套装收集完成百分比: 50%
- OtherRoleInfoProto RoleInfo = 5;
- }
- //请求搜索其他玩家
- //ResponseType S2C_SearchRole
- message C2S_SearchRole // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 1; //自己的角色id,客户端可以不传
- string RoleName = 2; //角色名称
- }
- message S2C_SearchRole // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated OtherRoleInfoProto RoleList = 1; //角色列表
- }
- //请求推荐好友
- //ResponseType S2C_GetRecommendFriends
- message C2S_GetRecommendFriends // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 1; //自己的角色id,客户端可以不传
- }
- message S2C_GetRecommendFriends // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated OtherRoleInfoProto RoleList = 1; //角色列表
- }
- //推送其他玩家基础信息变化
- message S2C_NoticeFriendInfo // IActorMessage
- {
- OtherRoleInfoProto RoleInfo = 1;
- }
- //好友==================================================================
- message FriendInfoProto
- {
- OtherRoleInfoProto RoleInfo = 1;
- int32 Type = 2; //好友关系类型,由FriendType枚举
- int32 GiveGiftState = 3; //赠送状态,由ConstGiveGiftStatus枚举
- int32 TakeGiftState = 4; //领取赠送状态,由ConstBonusStatus枚举
- }
- //请求所有好友信息
- //ResponseType S2C_GetAllFriendInfos
- message C2S_GetAllFriendInfos // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 1; //自己的角色id,客户端可以不传
- }
- message S2C_GetAllFriendInfos // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated FriendInfoProto FriendList = 1; //好友列表
- }
- //申请添加好友
- //ResponseType S2C_RequestApplyForFriend
- message C2S_RequestApplyForFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //被申请的角色id
- }
- message S2C_RequestApplyForFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //推送申请添加好友信息
- message S2C_NoticeApplyForFriend // IActorMessage
- {
- FriendInfoProto FriendInfo = 1;
- }
- //同意添加好友
- //ResponseType S2C_AcceptApplyForFriend
- message C2S_AcceptApplyForFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //发起申请的角色id
- }
- message S2C_AcceptApplyForFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //拒绝添加好友
- //ResponseType S2C_RefuseApplyForFriend
- message C2S_RefuseApplyForFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //发起申请的角色id
- }
- message S2C_RefuseApplyForFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 FriendId = 1; //被拒绝的角色id
- }
- //一键同意添加好友
- //ResponseType S2C_AcceptAllApplyForFriend
- message C2S_AcceptAllApplyForFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- }
- message S2C_AcceptAllApplyForFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //一键拒绝添加好友
- //ResponseType S2C_RefuseAllApplyForFriend
- message C2S_RefuseAllApplyForFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- }
- message S2C_RefuseAllApplyForFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 FriendIds = 1; //被拒绝的角色id列表
- }
- //推送新增好友
- message S2C_NoticeAddFriends // IActorMessage
- {
- repeated FriendInfoProto FriendList = 1; //要添加的好友列表
- }
- //请求删除好友
- //ResponseType S2C_RequestDeleteFriend
- message C2S_RequestDeleteFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //要删除的角色id
- }
- message S2C_RequestDeleteFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 FriendId = 1; //要删除的角色id
- }
- //推送删除好友
- message S2C_NoticeDeleteFriend // IActorMessage
- {
- int64 FriendId = 1; //要删除的角色id
- }
- //赠送
- //ResponseType S2C_GiveGiftToFriend
- message C2S_GiveGiftToFriend // IActorFriendRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //好友id
- }
- message S2C_GiveGiftToFriend // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 FriendId = 1; //好友id
- int32 GiveGiftState = 2; //赠送状态,由ConstGiveGiftStatus枚举
- }
- //一键赠送
- //ResponseType S2C_GiveGiftToAllFriends
- message C2S_GiveGiftToAllFriends // IActorFriendRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GiveGiftToAllFriends // IActorFriendResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 FriendIds = 1; //好友id列表
- repeated int32 GiveGiftStates = 2; //赠送状态,由ConstGiveGiftStatus枚举
- }
- //领取并赠送
- //ResponseType S2C_TakeGiftFromFriend
- message C2S_TakeGiftFromFriend // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 FriendId = 1; //好友id
- }
- message S2C_TakeGiftFromFriend // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 FriendId = 1; //好友id
- int32 GiveGiftState = 2; //赠送状态,由ConstGiveGiftStatus枚举
- int32 TakeGiftState = 3; //领取赠送状态,由ConstBonusStatus枚举
- }
- //一键领取并赠送
- //ResponseType S2C_TakeGiftFromAllFriend
- message C2S_TakeGiftFromAllFriend // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_TakeGiftFromAllFriend // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 FriendIds = 1; //好友id列表
- repeated int32 GiveGiftStates = 2; //赠送状态,由ConstGiveGiftStatus枚举
- repeated int32 TakeGiftStates = 3; //领取赠送状态,由ConstBonusStatus枚举
- }
- //推送领取赠送状态
- message S2C_NoticeTakeGiftStates // IActorMessage
- {
- int64 FriendId = 1; //好友id
- int32 TakeGiftState = 2; //领取赠送状态,由ConstBonusStatus枚举
- }
- //推送好友每日重置
- message S2C_NoticeFriendDailyReset // IActorMessage
- {
- }
- //请求修改角色名
- //ResponseType S2C_ModifyRoleName
- message C2S_ModifyRoleName // IActorLocationRequest
- {
- int32 RpcId = 90;
- string Name = 1;
- }
- message S2C_ModifyRoleName // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string Name = 1;
- }
- //设置物品已读
- //ResponseType S2C_SetItemRead
- message C2S_SetItemRead // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- }
- message S2C_SetItemRead // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1;
- }
- //请求使用物品
- //ResponseType S2C_UseItem
- message C2S_UseItem // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- int64 itemNum = 2;
- }
- message S2C_UseItem // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1;
- repeated ItemInfoProto GotItemList = 2;
- }
- //请求使用随机礼包物品
- //ResponseType S2C_UseRandomItem
- message C2S_UseRandomItem // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- int64 itemNum = 2;
- }
- message S2C_UseRandomItem // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1;
- repeated ItemInfoProto GotItemList = 2;
- }
- //推送客户端查阅建档宝箱状态
- message S2C_FilingScoreBonusChanged // IActorMessage
- {
- int32 ChapterId = 1;
- int32 ChapterScore = 2; //一章总分
- repeated int32 BonusStatusList = 3; //宝箱奖励状态,索引按照配置列表顺序索引,值由ConstBonusStatus定义
- }
- //领取查阅建档分数宝箱
- //ResponseType S2C_GetFilingScoreBonus
- message C2S_GetFilingScoreBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ChapterId = 1;
- }
- message S2C_GetFilingScoreBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ChapterId = 1;
- repeated int32 BonusIndexList = 2; // 本次领取的宝箱索引列表,用于客户端展示及更改宝箱状态
- }
- //相册========================================
- //照片信息
- message PictureInfoProto
- {
- int64 PictureId = 1; //图片id
- int64 CreationTime = 2; //创建时间
- int64 ToppingTime = 3; //置顶时间
- bool ToppingStatus = 4; //置顶状态
- bool LockingStatus = 5; //锁定状态
- string PictureName = 6; //图片名
- string PictureTempUrl = 7; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
- int32 SourceType = 8; // 图片来源 -- 值由 PictureSourceType 定义
- int32 TravelLocationId = 9; //游历地点id --万水千山
- int32 PositionIndex = 10; //Q版人物位置下标
- int32 TravelSuitResourceIndex = 11; //Q版套装人物资源下标
- int32 TravelSuitId = 12; //出游穿的q版套装id
- }
- //C2S获取玩家所有相册数据协议
- //ResponseType S2C_GetAllAlbumInfo
- message C2S_GetAllAlbumInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetAllAlbumInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated PictureInfoProto PictureInfosA = 1; //个人相册列表
- repeated PictureInfoProto PictureInfosB = 2; //万水千山列表
- }
- //C2S获取图片的临时上传地址协议
- //ResponseType S2C_GetTempPictureUrl
- message C2S_GetTempPictureUrl // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 PictureType = 1; //图片类型jpg,png -- 值由 PictureType 定义
- }
- message S2C_GetTempPictureUrl // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 PictureId = 1; //图片id
- string TempPictureUrl = 2; //图片临时上传url
- }
- //C2S保存图片信息协议
- //ResponseType S2C_AddPicture
- message C2S_AddPicture // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 PictureId = 1; //图片id
- }
- message S2C_AddPicture // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- PictureInfoProto PictureInfo = 1; //保存成功的图片信息
- }
- //C2S批量删除玩家相册协议
- //ResponseType S2C_RemovedPictures
- message C2S_RemovedPictures // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int64 PictureIds = 1; //需要删除的图片ids
- }
- message S2C_RemovedPictures // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 PictureIds = 1;//删除成功的图片ids
- }
- //C2S修改图片锁定状态
- //ResponseType S2C_UpPictureLockingStatus
- message C2S_UpPictureLockingStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 PictureId = 1;
- bool Status = 2; //图片状态: true锁定 false不锁定
- }
- message S2C_UpPictureLockingStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 PictureId = 1;
- bool Status = 2; //图片状态: true置顶 false不置顶
- }
- //C2S修改图片置顶状态
- //ResponseType S2C_UpPictureToppingStatus
- message C2S_UpPictureToppingStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 PictureId = 1;
- bool Status = 2; //图片状态: true置顶 false不置顶
- }
- message S2C_UpPictureToppingStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 PictureId = 1;
- bool Status = 2; //图片状态: true置顶 false不置顶
- }
- //千山万水 TravelGuide =================================================
- //游历信息
- message TravelGuideInfoProto
- {
- int32 Status = 1; //状态,0未游历,1游历中,2游历完成 值由 TravelGuideType 定义
- int64 CreationTime = 2; //开始时间
- int32 TravelNeedHour = 3; //需要的时间(小时)
- int32 TravelLocationId = 4; //游历地点id
- int32 TravelCount = 5; //游历地点对应的最新游历次数
- int32 TravelSuitId = 6; //出游穿的q版套装id
- int32 PositionIndex = 7; //Q版人物位置下标
- int32 TravelSuitResourceIndex = 8; //Q版套装人物资源下标
- repeated ItemInfoProto RewardItem = 9; //获得的物品
- int64 EndTime = 10; //游历结束时间
- }
- //C2S游历开始协议
- //ResponseType S2C_TravelGuideGo
- message C2S_TravelGuideGo // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 TravelSuitIds = 1; //携带的Q版服装ids,前端推送2套客户选的,后端自己读取一套默认的
- }
- message S2C_TravelGuideGo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- TravelGuideInfoProto TravelGuideInfo = 1;
- }
- //C2S获取游历数据协议
- //ResponseType S2C_GetTravelGuideData
- message C2S_GetTravelGuideData // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetTravelGuideData // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- TravelGuideInfoProto TravelGuideInfo = 1;
- }
- //C2S领取游历奖励(明信片信息,后端在这个协议里进行添加到了相册)
- //ResponseType S2C_ReceiveTravelGuideReward
- message C2S_ReceiveTravelGuideReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_ReceiveTravelGuideReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- PictureInfoProto PictureInfo = 1; //图片信息
- }
- //C2S获取千山万水游历记录的协议
- //ResponseType S2C_GetTravelGuideRecordAll
- message C2S_GetTravelGuideRecordAll // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetTravelGuideRecordAll // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 TglLocationRecordList = 1; //地点游历次数,数据顺序是配表的顺序
- repeated int32 TglAreaRecordList = 2; //区域奖励状态,数据顺序是配表的顺序 -- 奖励状态由枚举 ConstBonusStatus
- }
- //C2S领取图鉴千山万水区域奖励协议
- //ResponseType S2C_ReceiveTravelAreaReward
- message C2S_ReceiveTravelAreaReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 AreaId = 1;
- }
- message S2C_ReceiveTravelAreaReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto RewardItem = 1; //获得的物品
- }
- //千山万水加速
- //ResponseType S2C_SpeedUpTravelGuide
- message C2S_SpeedUpTravelGuide // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SpeedUpType = 1; //加速类型: 1.立即完成 2.加速一次
- repeated ItemInfoProto UseItem = 2; //消耗物品
- }
- message S2C_SpeedUpTravelGuide // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- TravelGuideInfoProto TravelGuideInfo = 1;
- }
- //画廊 =========================================================================
- //画廊作品
- message GalleryWorksInfoProto
- {
- int64 WorksId = 1; //作品
- int64 AuthorId = 2; //作者id
- string AuthorName = 3; //作者名字
- int64 BelikedCount = 4; //被点赞次数
- int64 BeCollectedCount = 5; //被收藏次数
- bool LikeOrNot = 6; //是否点赞
- bool CollectOrNot = 7; //是否收藏
- int64 CreateTime = 8; //创建时间,单位:毫秒
- int64 ThemeOrder = 9; //主题期数
- int32 ThemeId = 10; //主题配置id
- string PictureTempUrl = 11; //临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
- }
- //请求画廊主题
- //ResponseType S2C_GetGalleryTheme
- message C2S_GetGalleryTheme // IActorGalleryRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetGalleryTheme // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 ThemeOrder = 1; //主题期数
- int64 ThemeConfigId = 2; //主题配置id
- int64 MyWorksCountOfTheme = 3; //本期主题我的作品数
- bool HasBonus = 4; // 是否有排行榜奖励需要领取
- }
- //请求画廊列表
- //ResponseType S2C_GetGalleryList
- message C2S_GetGalleryList // IActorGalleryRequest
- {
- int32 RpcId = 90;
- int32 SortType = 1; //类型,由GallerySortType定义
- int32 StartIndex = 2; //起始索引,从0开始
- int32 Count = 3; //个数
- }
- message S2C_GetGalleryList // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 SortType = 1; //排序类型,由GallerySortType定义
- int32 StartIndex = 2; //起始索引,从0开始
- repeated GalleryWorksInfoProto WorksList = 3; //作品列表
- }
- //请求投稿画廊作品
- //ResponseType S2C_RequestUpLoadGalleryWorks
- message C2S_RequestUpLoadGalleryWorks // IActorGalleryRequest
- {
- int32 RpcId = 90;
- }
- message S2C_RequestUpLoadGalleryWorks // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- string TempPictureUrl = 2; //图片临时上传url
- }
- //通知服务端上传成功
- //ResponseType S2C_NoticeGalleryWorksUploaded
- message C2S_NoticeGalleryWorksUploaded // IActorGalleryRequest
- {
- int32 RpcId = 90;
- int64 WorksId = 1;
- }
- message S2C_NoticeGalleryWorksUploaded // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 MyWorksCountOfTheme = 1; //本期主题我的作品数
- }
- //删除我的作品
- //ResponseType S2C_DeleteMyWorks
- message C2S_DeleteMyWorks // IActorGalleryRequest
- {
- int32 RpcId = 90;
- int64 WorksId = 1;
- }
- message S2C_DeleteMyWorks // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- int64 MyWorksCountOfTheme = 2; //本期主题我的作品数
- }
- //收藏指定画廊作品
- //ResponseType S2C_CollecteGalleryWorks
- message C2S_CollecteGalleryWorks // IActorGalleryRequest
- {
- int32 RpcId = 90;
- int64 WorksId = 1;
- }
- message S2C_CollecteGalleryWorks // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- int64 BeCollectedCount = 2; //被收藏次数,需要自行修改被收藏状态
- }
- //取消收藏指定画廊作品
- //ResponseType S2C_CancelCollecteGalleryWorks
- message C2S_CancelCollecteGalleryWorks // IActorGalleryRequest
- {
- int32 RpcId = 90;
- int64 WorksId = 1;
- }
- message S2C_CancelCollecteGalleryWorks // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- int64 BeCollectedCount = 2; //被收藏次数,需要自行修改被收藏状态
- }
- //点赞指定画廊作品
- //ResponseType S2C_LikeGalleryWorks
- message C2S_LikeGalleryWorks // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 WorksId = 1;
- }
- message S2C_LikeGalleryWorks // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- int64 BelikedCount = 2; //被点赞次数,需要自行修改被点赞状态
- }
- //获取画廊作品排行榜
- //ResponseType S2C_GetGalleryWorksRankList
- message C2S_GetGalleryWorksRankList // IActorGalleryRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetGalleryWorksRankList // IActorGalleryResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 MyRank = 1; //我的最高排名
- repeated GalleryWorksInfoProto RankList = 2; //作品列表
- }
- //领取排行榜奖励
- //ResponseType S2C_GetGalleryRankBonus
- message C2S_GetGalleryRankBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetGalleryRankBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 MyWorksRanks = 1; //我的作品排名列表
- }
- //------------------公开的相册协议
- //保存图片到,公开的相册
- //ResponseType S2C_AddOpenAlbumInfo
- message C2S_AddOpenAlbumInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int64 PictureIds = 1; //图片ids,索引即位置,某个位置为null,就传0
- }
- message S2C_AddOpenAlbumInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //修改头像
- //ResponseType S2C_AuHead
- message C2S_AuHead // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 HeadItemId = 1; //头像物品id
- }
- message S2C_AuHead // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 HeadItemId = 1;
- }
- //修改头像框
- //ResponseType S2C_AuHeadBorder
- message C2S_AuHeadBorder // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 HeadBorderItemId = 1; //头像框物品id
- }
- message S2C_AuHeadBorder // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 HeadBorderItemId = 1;
- }
- //竞技场 =========================================================================
- //获取竞技场信息
- //ResponseType S2C_GetArenaInfos
- message C2S_GetArenaInfos // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetArenaInfos // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 ThemeList = 1; //本周主题列表
- string Tag = 2; //本周标签
- int32 SeasonId = 3; // 赛季id
- int32 Grade = 4; //本赛季段位
- int32 RankInGrade = 5; //本赛季段位内排名
- int32 HighestGradeOfSeason = 6; //本赛季最高段位
- int32 HighestRankInGradeOfSeason = 7; //本赛最高季段位内排名
- int64 LastFightTime = 8;//上次挑战时间 为0时是本周还没打过
- repeated ArenaDressupProto DressupList = 9; //搭配列表
- repeated ArenaTargetProto targets = 10; //对手
- }
- //通知玩家段位发生变化
- message SC_RankChange // IActorMessage
- {
- int32 Grade = 1; //本赛季段位
- int32 RankInGrade = 2; //本赛季段位内排名
- }
- //刷新竞争对手
- //ResponseType S2C_RefreshArenaTargets
- message C2S_RefreshArenaTargets // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_RefreshArenaTargets // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ArenaTargetProto targets = 1; //对手
- }
- //更换搭配
- //ResponseType S2C_ChangeArenaDressup
- message C2S_ChangeArenaDressup // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Index = 1;//搭配的
- int32 CardId = 2; //卡牌id
- repeated int32 EquipIds = 3; //换装id列表
- repeated int64 SelfFightPower = 4;//自己 搭配战力,卓越点击战力,卡牌战力
- }
- message S2C_ChangeArenaDressup // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //获取某个玩家最新挑战分
- //ResponseType S2C_GetTargetNewFightPower
- message C2S_GetTargetNewFightPower // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91; //玩家自己的RoleId
- int64 TargetRoleId = 1; //对手RoleId
- }
- message S2C_GetTargetNewFightPower // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 TargetFightPower = 1;
- int64 TargetRoleId = 2;
- }
- //购买挑战次数
- //ResponseType S2C_BuyArenaFightTimes
- message C2S_BuyArenaFightTimes // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_BuyArenaFightTimes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //获取对手套装属性
- //ResponseType S2C_ArenaFightAttr
- message C2S_ArenaFightAttr // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 TargetRoleId = 1;
- }
- message S2C_ArenaFightAttr // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ArenaDressupAttrProto data = 1;
- repeated ArenaDressupProto DressupList = 2; //搭配列表
- repeated SkillAttrProto SkillAttrs = 3; //技能属性
- }
- //技能属性
- message SkillAttrProto
- {
- int32 Score = 1;
- int64 Value = 2;
- }
- //竞技场的一组套装属性
- message ArenaDressupAttrProto
- {
- int32 CardId = 1;
- int32 CardScore = 2;
- repeated int32 SkillId = 3;
- repeated int32 SkillLevel = 4;
- repeated int32 SuitScore = 5;
- }
- //客户端发送到挑战结果
- //ResponseType S2C_ArenaFight
- message C2S_ArenaFight // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Grade = 1; //挑战的阶级
- int32 RankInGrade = 2; //挑战的排名
- int32 Type = 3; //类型,由FightTargetType定义
- int64 TargetRoleId = 4; //对手角色id 挑战的是玩家时候需要传
- bool IsWin = 5; //是否胜利
- repeated int64 SelfFightPower = 6;//自己 搭配战力,卓越点击战力,卡牌战力
- repeated int64 TargetFightPower = 7;// 对手 搭配战力,卓越点击战力,卡牌战力
- repeated int64 SelfRandScore = 8; //自己 3轮积分
- repeated int64 TargetRandScore = 9;//对手 3轮积分
- }
- message S2C_ArenaFight // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91; //Error不为0时, 要提示玩家挑战玩家排行已改变
- string Message = 92;
- int32 Grade = 1; //本赛季段位
- int32 RankInGrade = 2; //本赛季段位内排名
- repeated ArenaTargetProto targets = 3; // 返回新的列表
- int32 RewardId = 4; //首次晋升奖励id 为0时不是首次晋升
- bool isUpGrade = 5;//是否晋升
- int64 LastFightTime = 6;//本次挑战时间
- repeated ItemInfoProto rewards = 7;//结算奖励
- repeated int32 RewardStatusVs = 8; //段位id
- repeated int32 RewardStatusKs = 9; //奖励状态
- }
- //获取排行榜
- //ResponseType S2C_ArenaRank
- message C2S_ArenaRank // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 RankType = 1; //排行类型 ArenaRankType
- int32 StartIndex = 2; //获取排行开始值 从第一名开始
- int32 EndIndex = 3; //获取排行结束值
- }
- message S2C_ArenaRank // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ArenaTargetProto self = 1; //自己的排行信息
- repeated ArenaTargetProto ranks = 2; //排行榜其他人信息
- }
- //获取竞技场历史记录
- //ResponseType S2C_ArenaHistory
- message C2S_ArenaHistory // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_ArenaHistory // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ArenaHistoryProto history = 1; // 竞技场历史记录
- }
- //通知玩家竞技场历史记录发生添加
- message SC_ArenaHistoryAdd // IActorMessage
- {
- ArenaHistoryProto history = 1;
- }
- //竞技场周清理
- message SC_ArenaWeekClear // IActorMessage
- {
- string Tag = 1;
- repeated int32 Themes = 2;
- }
- //赛季结束
- message SC_ArenaSeasonEnd // IActorMessage
- {
- int32 seasonId = 1; //下个赛季的id
- }
- //竞技场历史记录
- message ArenaHistoryProto
- {
- bool IsWin = 1; //是否胜利
- bool IsChallenge = 2; //是否挑战
- int64 FightTime = 3;//战斗时间
- int32 GradeChangeType = 4;//是否晋级 ArenaGradeChangeType
- int32 Grade = 5;//自己战斗后段位
- int32 Rank = 6;//自己战斗后排行
- repeated int64 SelfFightPower = 7;//自己 搭配战力,卓越点击战力,卡牌战力
- ArenaTargetProto target = 8; //对手信息
- repeated int64 SelfRandScore = 9; //自己 3轮积分
- repeated int64 TargetRandScore = 10;//对手 3轮积分
- }
- //竞技场的一组搭配
- message ArenaDressupProto
- {
- int32 CardId = 1; //卡牌id
- repeated int32 EquipIds = 2; //换装id列表
- }
- //竞技场选手
- message ArenaTargetProto
- {
- int32 Grade = 1; //本赛季段位
- int32 RankInGrade = 2; //本赛季段位内排名
- int32 Type = 3; //类型,由FightTargetType定义
- OtherRoleInfoProto RoleInfo = 4; //玩家数据
- repeated ArenaDressupProto PlayerDressupList = 5; //搭配列表
- ArenaRobotProto RobotDressupInfo = 6; //机器人数据
- repeated int64 FightPower = 7; //搭配战力,卓越点击战力,卡牌战力
- }
- //竞技场机器人
- message ArenaRobotProto
- {
- int32 RobotId = 1; //机器人编号
- repeated int32 Randoms = 2; //属性系数
- repeated int32 CardIdList = 3; //对应3套搭配的卡佩id列表
- repeated int32 SuitList = 4; //对应3套搭配的套装id列表
- string Name = 5;//机器人名字
- string RobotHead = 6; //机器人头像
- }
- //联盟 =========================================================================
- // 获取军团信息
- //ResponseType S2C_GetLeagueInfo
- message C2S_GetLeagueInfo // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetLeagueInfo // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Type = 1;// 1:已经加入军团 2:未加入军团
- LeagueDetailInfoProto LeagueDetailInfo = 2;//自己有军团时有值
- repeated LeagueListInfoProto list = 4; //军团推荐列表
- }
- // 搜索军团信息
- //ResponseType S2C_SearchLeagueInfo
- message C2S_SearchLeagueInfo // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- string Name = 1;
- }
- message S2C_SearchLeagueInfo // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LeagueListInfoProto list = 4;
- }
- //创建联盟
- //ResponseType S2C_CreateLeague
- message C2S_CreateLeague // IActorLocationRequest
- {
- int32 RpcId = 90;
- string Name = 1;
- string IconName = 2;
- }
- message S2C_CreateLeague // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- LeagueDetailInfoProto LeagueDetailInfo = 1;//军团信息
- }
- //申请加入联盟
- //ResponseType S2C_ApplyJoinLeague
- message C2S_ApplyJoinLeague // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 LeagueId = 1; //联盟id
- }
- message S2C_ApplyJoinLeague // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Type = 1; //1等待审核 2加入成功
- LeagueDetailInfoProto LeagueDetailInfo = 2;//加入成功直接返回军团信息
- }
- //通知有人申请加入联盟
- message L2C_NoticeApplyLeague // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
- }
- //获取申请加入联盟列表
- //ResponseType S2C_GetApplyJoinLeagueList
- message C2S_GetApplyJoinLeagueList // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetApplyJoinLeagueList // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
- }
- //审核是否加入
- //ResponseType S2C_AuditJoinLeague
- message C2S_AuditJoinLeague // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 TargetRoleId = 1;
- bool IsAgreed = 2; //是否同意
- }
- message S2C_AuditJoinLeague // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知有人加入了联盟
- message L2C_NoticeJoinLeague // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- LeagueMemberDetailInfoProto RoleInfo = 2;
- }
- //退出联盟
- //ResponseType S2C_QuitLeague
- message C2S_QuitLeague // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_QuitLeague // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //踢出联盟
- //ResponseType S2C_KickLeague
- message C2S_KickLeague // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 TargetRoleId = 1; //被踢玩家Id
- }
- message S2C_KickLeague // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知有人离开了联盟
- message L2C_NoticeLeaveLeague // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- int64 LeaveRoleId = 2; //离开者玩家id, 自己离开时也会同步,这个时候重新拉取下 S2C_GetLeagueInfo
- }
- //通知联盟解散了
- message L2C_NoticeDisbandLeague // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- }
- //建设联盟
- //升级建筑
- //ResponseType S2C_UpLeagueBuilding
- message C2S_UpLeagueBuilding // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 BuildingType = 1; // LeagueBuildingType
- }
- message S2C_UpLeagueBuilding // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 Level = 1; //等级
- }
- //管理联盟
- //修改联盟名字和联盟徽章
- //ResponseType S2C_ChangeLeagueNameOrIcon
- message C2S_ChangeLeagueNameOrIcon // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; // 1为名字,2为徽章
- string Changed = 2; //改变后的值
- }
- message S2C_ChangeLeagueNameOrIcon // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //修改公告
- //ResponseType S2C_ChangeLeagueNotice
- message C2S_ChangeLeagueNotice // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- string Notice = 1; //公告
- }
- message S2C_ChangeLeagueNotice // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //发广告
- //ResponseType S2C_SendLeagueAD
- message C2S_SendLeagueAD // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_SendLeagueAD // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 AdEndTime = 1; //广告结束时间
- }
- //通知联盟信息改变
- message L2C_NoticeLeagueInfoChange // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- int32 Type = 2;// 1为名字,2为徽章,3为公告
- string Changed = 3; //改变后的值
- }
- //设置是否需要审批
- //ResponseType S2C_SetLeagueApply
- message C2S_SetLeagueApply // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- bool IsNeed = 1; //是否需要审核
- }
- message S2C_SetLeagueApply // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool IsNeed = 1; //是否需要审核
- }
- //获取加入退出日志
- //ResponseType S2C_GetLeagueJoinQuitLog
- message C2S_GetLeagueJoinQuitLog // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetLeagueJoinQuitLog // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LeagueJoinQuitLogProto Logs = 1;
- }
- //同步加入退出日志
- message S2C_LeagueJoinQuitLog // IActorMessage
- {
- LeagueJoinQuitLogProto Logs = 1;
- }
- //修改职位
- //ResponseType S2C_ChangeLeaguePos
- message C2S_ChangeLeaguePos // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 TargetRoleId = 1;
- int32 Position = 2; //职位
- }
- message S2C_ChangeLeaguePos // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知职位变化
- message L2C_NoticeLeaguePosChange // IActorMessage
- {
- int64 LeagueId = 1; //联盟id
- int64 RoleId = 2;//玩家id
- int32 Position = 3; //职位
- }
- //联盟祈福
- //ResponseType S2C_PrayLeague
- message C2S_PrayLeague // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; //
- }
- message S2C_PrayLeague // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 CoinCount = 1; //联盟基金
- int32 ItemConfigId = 2; //联盟基金配置id
- repeated ItemInfoProto Bonus = 3; //祈福每天首次贡献奖励
- }
- //同步玩家联盟贡献统计
- message S2C_LeagueContribution // IActorMessage
- {
- int64 RoleId = 1;
- int64 AllContribution = 2; //全期累计贡献
- int64 WeekContribution = 3; //本周累计贡献
- int64 AllCoin = 4; //累计资金
- }
- //通知联盟值变化
- message L2C_NoticeLeagueNumeric // IActorMessage
- {
- int64 LeagueId = 1;
- int32 NumericType = 2;
- int64 NewValue = 3;
- }
- message LeagueJoinQuitLogProto
- {
- int32 Type = 1; //LeagueJoinQuitLogType 1:加入 2:退出 3:变更 4:踢掉
- OtherRoleInfoProto RoleInfo = 2;// 玩家摘要数据
- int64 Time = 3;//操作时间
- int32 OldPos = 4; //旧职位 职位变更时需要
- int32 NewPos = 5; //新职位 职位变更时需要
- }
- //联盟详情
- message LeagueDetailInfoProto
- {
- int64 LeagueId = 1;
- string Name = 2;
- string Icon = 3;
- string Notice = 4;
- int32 Num = 5; //人数
- int64 AdEndTime = 6; //广告结束时间
- int64 OwnerId = 7; //盟主id
- int64 SubOwnerId = 8; //副盟主id
- repeated int32 NumberKeys = 9; //LeagueNumericType
- repeated int64 Values = 10; //值
- repeated LeagueMemberDetailInfoProto LeagueMemberDetailInfo = 11; //军团成员信息
- int64 LastQuestionNo1RoleId = 12; //上次答题第一名玩家id
- int32 TeapartyId = 13; //茶会期数 --未开启则期数为0
- int32 Status = 14; // 0未开启 1集结中 2已集结
- }
- //联盟成员详情
- message LeagueMemberDetailInfoProto
- {
- OtherRoleInfoProto RoleInfo = 1; // 玩家信息
- int32 Pos = 2; //职位
- int64 WeekContribution = 3; //本周贡献值
- int64 AllContribution = 4; //累计贡献值
- int64 JoinLeagueTime = 5; //加入联盟时间
- int64 AllCoin = 6; //累计资金
- }
- //联盟列表
- message LeagueListInfoProto
- {
- int64 LeagueId = 1;
- string Name = 2;
- string Icon = 3;
- int32 Num = 4; //当前人数
- int32 MaxNum = 5; //最大人数
- bool NeedAudit = 6;//是否需要审核
- bool IsAd = 7; //是否是广告
- int32 ApplyStatus = 8; //LeagueApplyStatus 0:可申请,1:申请中, 3:拒绝
- int32 Level = 9; //等级
- }
- //推送其他玩家基础信息变化
- message S2C_NoticeOtherInfo // IActorMessage
- {
- repeated OtherRoleInfoProto RoleInfos = 1;
- }
- //-------------------------------VIP--------------------------------
- // 领取VIP等级礼包
- //ResponseType S2C_GetVipLevelGift
- message C2S_GetVipLevelGift // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 VipLevel = 1; //VIP等级
- }
- message S2C_GetVipLevelGift // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //领取VIP周礼包
- //ResponseType S2C_GetVipWeekGift
- message C2S_GetVipWeekGift // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 VipLevel = 1; //VIP等级
- }
- message S2C_GetVipWeekGift // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //-------------------------------联盟二期--------------------------------
- //购买联盟福利
- //ResponseType S2C_BuyLeagueWelfare
- message C2S_BuyLeagueWelfare // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Type = 1; //LeagueWelfareType
- }
- message S2C_BuyLeagueWelfare // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //领取联盟福利
- //ResponseType S2C_GetLeagueWelfare
- message C2S_GetLeagueWelfare // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LeagueWelfareType = 1; //LeagueWelfareType
- }
- message S2C_GetLeagueWelfare // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto Bonus = 1;
- }
- //获取答题排行
- //ResponseType S2C_GetAnswerRank
- message C2S_GetAnswerRank // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Type = 1; //1:周排行 2:上周排行
- }
- message S2C_GetAnswerRank // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LeagueQuestionRoleInfoProto RoleInfos = 1;
- }
- //回答题目
- //ResponseType S2C_AnswerQuestion
- message C2S_AnswerQuestion // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 QuestionId = 1;
- string Answer = 2;
- }
- message S2C_AnswerQuestion // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //加入答题
- //ResponseType S2C_JoinAnswer
- message C2S_JoinAnswer // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_JoinAnswer // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LeagueQuestionRoleInfoProto RoleInfos = 1;
- int32 QuestionId = 2;//上次答题id
- string Ans = 3;//上次答案
- int64 LastRightRoleId = 4;//上次答对玩家id
- }
- //退出答题
- //ResponseType S2C_QuitAnswer
- message C2S_QuitAnswer // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_QuitAnswer // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知有玩家加入答题
- message L2C_NoticeJoinAnswer // IActorMessage
- {
- int64 RoleId = 1;// 玩家信息
- int32 AnswerNum = 2;//答题数量
- }
- //通知有玩家退出答题
- message L2C_NoticeQuitAnswer // IActorMessage
- {
- int64 RoleId = 1;// 玩家信息
- }
- //同步玩家答题数量
- message S2C_SyncAnswerNum // IActorMessage
- {
- int64 RoleId = 1;
- int32 Num = 2;
- repeated ItemInfoProto Rewards = 3;
- }
- //通知答题暂停
- message L2C_NoticeAnswerPause // IActorMessage
- {
- int32 Type = 1; //1:有人答对题目 2:无人答对 3:答题结束
- int64 Time = 2; //等待结束时间,除了答题结束都有这个值
- repeated ItemInfoProto Rewards = 3;
- }
- //同步答题开始
- message S2C_SyncAnswerStart // IActorMessage
- {
- int32 QuestionId = 1; //题目id
- int64 Time = 2; //答题结束时间
- }
- //玩家联盟答题信息
- message LeagueQuestionRoleInfoProto
- {
- int64 RoleId = 1;
- int32 Num = 2;//答题次数
- }
- //-------------------------------技能--------------------------------
- //获取技能列表
- //ResponseType S2C_GetSkillList
- message C2S_GetSkillList // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SKillType = 1; //SkillType
- }
- message S2C_GetSkillList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 SkillId = 1;
- }
- //同步添加了技能
- message S2C_SyncAddSkill // IActorMessage
- {
- repeated SkillInfoProto SkillInfos = 1;
- }
- message SkillInfoProto
- {
- int32 SkillType = 1; //SkillType
- int32 SkillId = 2;
- }
- //激活技能
- //ResponseType S2C_ActiveSkill
- message C2S_ActiveSkill // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SkillType = 1;
- int32 SkillId = 2;
- }
- message S2C_ActiveSkill // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //-------------------------------聊天--------------------------------
- //发送聊天消息
- //ResponseType S2C_SendChatMsg
- message C2S_SendChatMsg // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; //ChatType
- string Content = 2; //内容
- int64 TargetId = 3; //私聊时需要
- }
- message S2C_SendChatMsg // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //发送聊天消息
- message S2C_NoticeChatMsg // IActorMessage
- {
- int32 Type = 1; //ChatType
- OtherRoleInfoProto RoleInfo = 2; //玩家信息
- string Content = 3; //内容
- int64 Time = 4; //时间
- }
- //查询聊天记录
- //ResponseType S2C_QueryChatMsg
- message C2S_QueryChatMsg // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; //ChatType
- }
- message S2C_QueryChatMsg // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ChatMsgProto ChatMsgs = 1;
- }
- message ChatMsgProto
- {
- int32 Type = 1; //ChatType
- OtherRoleInfoProto RoleInfo = 2; //玩家信息
- int64 TargetId = 3; //私聊时需要
- string Content = 4; //内容
- int64 Time = 5; //时间
- }
- //-------------------------------月卡--------------------------------
- //领取每日返还珍珠
- //ResponseType S2C_GetMonthCardReward
- message C2S_GetMonthCardReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 MonthCardType = 1; //MonthCardType
- }
- message S2C_GetMonthCardReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //领取专属单品
- //ResponseType S2C_GetMonthCardItem
- message C2S_GetMonthCardItem // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetMonthCardItem // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //通知月卡开启
- message S2C_NoticeMonthCardOpen // IActorMessage
- {
- int32 MonthCardType = 1; //MonthCardType
- }
- //-------------------------------签到--------------------------------
- //签到
- //ResponseType S2C_Sign
- message C2S_Sign // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_Sign // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto reward = 1;
- }
- //补签
- //ResponseType S2C_ReSign
- message C2S_ReSign // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Day = 1;
- int32 ConsumeType = 2; //消耗类型:0.以前的消耗 1.新的消耗
- }
- message S2C_ReSign // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto reward = 1;
- }
- //领取签到累计奖励
- //ResponseType S2C_GetSignReward
- message C2S_GetSignReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Day = 1;
- }
- message S2C_GetSignReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto reward = 1;
- }
- //领取/补领每日补给
- //ResponseType S2C_GetSupplyReward
- message C2S_GetSupplyReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Id = 1;
- }
- message S2C_GetSupplyReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto reward = 1;
- }
- //-------------------------------任务--------------------------------
- //请求任务数据
- //ResponseType M2C_GetTaskInfos
- message C2M_GetTaskInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; //TaskType
- }
- message M2C_GetTaskInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated TaskInfoProto TaskList = 1; //任务列表
- }
- //推送任务进度和状态
- //message M2C_TaskInfoChange // IActorMessage
- //{
- // TaskInfoProto TaskInfo = 1;
- //}
- //请求领取每日任务奖励
- //ResponseType M2C_GetTaskBonus
- message C2M_GetTaskBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Id = 1; //任务id
- }
- message M2C_GetTaskBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Id = 1; //请求领奖的任务
- int32 Status = 2; //请求领奖的任务最新状态
- TaskInfoProto NextTask = 3; //成就任务 下一个展示的任务
- }
- //一键领取任务奖励
- //ResponseType M2C_GetAllTaskBonus
- message C2M_GetAllTaskBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Type = 1; //TaskType
- }
- message M2C_GetAllTaskBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated TaskInfoProto TaskList = 1; //有变化的任务列表
- repeated ItemInfoProto BonusList = 2; //领取的所有任务奖励
- }
- //通知任务关闭
- message M2C_TaskClose // IActorMessage
- {
- int32 TaskId = 1;
- }
- //通知任务重置
- message M2C_TaskChange // IActorMessage
- {
- repeated TaskInfoProto TaskList = 1; //有变化的任务列表
- }
- //成就任务分类进度
- message AchievementTaskTypePro
- {
- int32 AchievementType = 1; //任务分类
- int32 AllTaskNum = 2; //所有的任务数量
- int32 CompleteTaskNum = 3; //完成的任务数量
- }
- //请求ALL成就任务分类完成进度
- //ResponseType M2C_GetAchievementTaskTypePro
- message C2M_GetAchievementTaskTypePro // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetAchievementTaskTypePro // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated AchievementTaskTypePro AchievementTaskTypeProList = 1; //成就任务分类进度
- }
- //通知成就任务分类进度
- message M2C_AchievementTaskTypeChange // IActorMessage
- {
- AchievementTaskTypePro AchievementTaskTypeProto = 1;
- }
- //-------------------------------七日活跃--------------------------------
- //领取七日活跃奖励
- //ResponseType S2C_GetDay7Reward
- message C2S_GetDay7Reward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Id = 1;
- }
- message S2C_GetDay7Reward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //-------------------------------通行证--------------------------------
- //获取玩家通行证信息
- //ResponseType S2C_GetBattlePassInfo
- message C2S_GetBattlePassInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetBattlePassInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 SeasonId = 1;//赛季id
- bool IsBuy = 2;//是否购买通行证
- repeated int32 RewardList = 6; //已领取奖励列表
- repeated int32 SuperRewardList = 7;//已领取超级奖励
- }
- //领取通行证奖励
- //ResponseType S2C_GetBattlePassReward
- message C2S_GetBattlePassReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 Id = 1;
- }
- message S2C_GetBattlePassReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 Type = 1;//1:普通奖励 2:超级奖励 3:都领奖了
- }
- //一键领取通行证奖励
- //ResponseType S2C_GetAllBattlePassReward
- message C2S_GetAllBattlePassReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetAllBattlePassReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 Levels = 1;//领取的等级
- repeated int32 SuperLevels = 2;//领取的超级等级
- }
- //购买等级
- //ResponseType S2C_BuyBattlePassLevel
- message C2S_BuyBattlePassLevel // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 UpLevel = 1;//升N级
- }
- message S2C_BuyBattlePassLevel // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //同步玩家开通了通行证
- message M2C_SyncBattlePass // IActorMessage
- {
- bool IsBuy = 1; //是否购买
- int32 SeasonId = 2; //赛季id
- }
- //同步玩家通行证领奖等级
- message M2C_SyncBattlePassLevel // IActorMessage
- {
- repeated int32 Level = 1; //领奖等级
- repeated int32 SuperLevel = 2;//高级领奖等级
- }
- //同步赛季id变化
- message M2C_SyncBattlePassSeasonId // IActorMessage
- {
- int32 SeasonId = 1; //赛季id
- }
- //-------------------------------通用限制--------------------------------
- message UnitLimitInfoProto
- {
- int32 LimitId = 1;
- int32 BuyTimes = 2; //已购买次数
- int32 PlayTimes = 3; //已挑战次数
- int32 PlayTimesMax = 4; //能挑战的最大次数
- int32 PlayTimesResetExtra = 5; //重置时相对于配置额外的挑战次数
- int32 MaxStorageCount = 6; //最大存储次数
- }
- //ResponseType S2C_GetUnitLimitInfos
- message C2S_GetUnitLimitInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetUnitLimitInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated UnitLimitInfoProto UnitLimitInfos = 1;
- }
- //请求购买限制次数
- //ResponseType M2C_BuyUnitLimitPlayTimes
- message C2M_BuyUnitLimitPlayTimes // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LimitId = 1;
- int32 BuyType = 2; // 购买类型,0道具,1货币
- int32 BuyCount = 3; //购买数量
- }
- message M2C_BuyUnitLimitPlayTimes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 LimitId = 1;
- }
- //推送限制数据变化
- message M2C_NoticeUnitLimitPlayTimes // IActorMessage
- {
- UnitLimitInfoProto UnitLimitInfo = 1;
- }
- //自选礼包选择的物品
- message GiftBoxSelChildItemProto
- {
- int32 ChildItemId = 1; //选择获取的物品id
- int32 ChildItemCount = 2; //选择获取的物品数量
- }
- //请求消费自选礼包
- //ResponseType M2C_GiftBoxSelConsumption
- message C2M_GiftBoxSelConsumption // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- repeated GiftBoxSelChildItemProto GiftBoxSelChildItems = 2; //自选礼包选择的物品List
- }
- message M2C_GiftBoxSelConsumption // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto GotItemList = 1;
- }
- //请求轮换抽奖活动信息
- //ResponseType S2C_GetLuckyBoxRotatingInfo
- message C2S_GetLuckyBoxRotatingInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetLuckyBoxRotatingInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 RotatingId = 1; //轮换id
- }
- //请求限时抽奖活动信息
- //ResponseType S2C_GetTimeLimitLuckyBoxInfo
- message C2S_GetTimeLimitLuckyBoxInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_GetTimeLimitLuckyBoxInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- int64 AllPlayTimes = 2; //抽奖总次数
- repeated int32 KsBonusState = 3; //奖励key,这里对应抽奖次数
- repeated int32 VsBonusState = 4; //值由ConstBonusStatus定义
- int32 Count = 5; //限时抽奖必掉次数
- }
- //领取抽奖奖励
- //ResponseType S2C_GetTimeLimitLuckyBoxBonus
- message C2S_GetTimeLimitLuckyBoxBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- int32 BonusKey = 2; //奖励key,这里对应抽奖次数
- }
- message S2C_GetTimeLimitLuckyBoxBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- int32 BonusKey = 2; //奖励key,这里对应抽奖次数
- int32 BonusStatus = 3; //值由ConstBonusStatus定义
- repeated ItemInfoProto BonusList = 4; //奖励列表
- }
- //推送限时抽奖必掉次数
- message S2C_NoticeTimeLimitLuckyBoxDropOutCount // IActorMessage
- {
- int32 Count = 1;
- int32 ActivityId = 2;
- int64 AllPlayTimes = 3; //抽奖总次数
- }
- //请求领取连续返利礼包--的返利
- //ResponseType S2C_GiftBagRebate
- message C2S_GetGiftBagRebate // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ShopId = 1; //返利礼包Id
- }
- message S2C_GiftBagRebate // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto ItemList = 1; //返利物品
- }
- message DayItemInfo
- {
- int32 ItemId = 1;
- int32 ResidueNum = 2;
- }
- //获取已经领取的返利物品ids
- //ResponseType S2C_GetAllGiftBagRebateStatus
- message C2S_GetAllGiftBagRebateStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetAllGiftBagRebateStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 ItemIds = 1; //当天已经领取的返利物品Id
- repeated DayItemInfo DayAllItemResidues = 2; //当天可以领取的列表
- }
- //通知活动开启
- message S2C_NoticeActivityOpen // IActorMessage
- {
- ActivityInfoProto ActivityInfo = 1;
- }
- //通知活动关闭
- message S2C_NoticeActivityClose // IActorMessage
- {
- int32 ActivityId = 1;
- }
- //客户端请求关闭活动
- //ResponseType S2C_CloseActivity
- message C2S_CloseActivity // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_CloseActivity // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //拉取活动列表
- //ResponseType S2C_GetActivityList
- message C2S_GetActivityList // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 Type = 1; //活动类型
- }
- message S2C_GetActivityList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ActivityInfoProto ActivityList = 1;
- }
- message ActivityInfoProto
- {
- int32 ActivityId = 1;
- int64 StartTime = 2;
- int64 EndTime = 3;
- repeated int32 GetRewards = 4;
- int64 CountValue = 5;
- int32 Type = 6; //活动类型
- }
- //首充奖励
- //ResponseType S2C_GetFirstRechargeBonus
- message C2S_GetFirstRechargeBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetFirstRechargeBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //领取活动奖励
- //ResponseType S2C_GetActivityBonus
- message C2S_GetActivityBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- int32 BonusId = 2;
- }
- message S2C_GetActivityBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto itemList = 1;
- }
- //同步活动进度值
- message S2C_SyncActivityCountValue // IActorMessage
- {
- int32 ActivityId = 1;
- int64 CountValue = 2;
- }
- //同步充值物品获得
- message S2C_SyncRechargeItemGet // IActorMessage
- {
- int32 BuyId = 1; //购买项在商店里的编号id
- int32 Times = 2; //购买次数
- int32 TotalTimes = 3; //总的购买次数
- int64 OrderTime = 4; //购买时间
- }
- //请求抽奖数据
- //ResponseType S2C_GetLuckyBoxInfo
- message C2S_GetLuckyBoxInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetLuckyBoxInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 KsLuckyBoxId = 1; //奖池id列表
- repeated int64 VsFreeTime = 2; //免费时间列表
- repeated int32 KsPlayedId = 3; //摘星次数对应的奖池id列表
- repeated int64 VsPlayedTimes = 4; //摘星次数列表
- }
- //推送奖池免费时间变化
- message S2C_NoticeLuckyBoxFreeTime // IActorMessage
- {
- int32 LuckyBoxId = 1; //奖池id
- int64 FreeTime = 2; //免费时间,当前时间大于此时间免费,如果为0,表示取消免费
- }
- //技能书分解
- //ResponseType M2C_SkillBookDecompose
- message C2M_SkillBookDecompose // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 itemIds = 1; //技能书物品id列表
- repeated int64 itemNums = 2; //技能书物品个数列表
- }
- message M2C_SkillBookDecompose // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto bonusList = 1; //奖励列表
- }
- //==========================联盟--茶会=========================
- //扮演角色坑位信息
- message RoleContainerProto
- {
- int32 TeapartyRoleId = 1; //扮演角色id
- int32 PerNum = 2; //当前的人数
- int32 MaxScore = 3; //最高分
- string MaxScoreRoleName = 4; //最高分的玩家名称
- repeated int32 EquipIds = 5; //最高分的玩家换装id列表
- int32 HeadItemId = 6; //头像物品id
- int32 HeadBorderItemId = 7; //头像框物品id
- }
- //玩家茶会详细信息
- message RoleTeapartyInfoProto
- {
- bool Status = 1; //true已提交搭配方案 fasle未提交搭配方案 ---不在活动内,依然会返回fasle
- bool IsComplete = 2; //true已经走完流程 false未走完流程 -- 由 C2S_ReportTeapartyComplete 决定这里的值
- int32 PerScore = 3; //个人评分分数
- repeated int32 PerAwardStatusVs = 4; //个人评分对应的领奖状态 由枚举 ConstBonusStatus
- int32 LeagueScore = 5; //雅集评分分数
- repeated int32 LeagueAwardStatusVs = 6; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
- int32 TeapartyRoleId = 7; //扮演的角色Id
- repeated int32 EquipIds = 8; //玩家自己的换装id列表
- bool IsQuitTeaParty = 9; //一个茶会期数内 是否退出过雅集--茶会重置的时候重置为false,被踢出或者退出的时候设置为true
- int32 LastOpenCfgId = 10; //记录上一次结算过奖励的雅集茶会期数
- repeated int32 TempEquipIds = 11; //临时穿搭:玩家自己的换装id列表,提交搭配后会与正式的穿搭一致
- bool IsNoActDayEnterLeague = 12; //是否非茶会活动日进入的雅集
- }
- //获取本期茶会期数信息
- //ResponseType S2C_GetTeapartyInfos
- message C2S_GetTeapartyInfos // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetTeapartyInfos // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 TeapartyId = 1; //茶会期数 --未开启则期数为0
- int32 Status = 2; // 0未开启 1集结中 2已集结
- }
- //获取玩家本期茶话会参与信息
- //ResponseType S2C_TeapartyMatchingInfos
- message C2S_GetTeapartyMatchingInfos // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_TeapartyMatchingInfos // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- RoleTeapartyInfoProto RoleTeapartyInfo = 1;
- }
- //进入茶会话,获取茶会每个扮演角色坑位信息
- //ResponseType S2C_GetRoleContainerInfos
- message C2S_GetRoleContainerInfos // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetRoleContainerInfos // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 TeaPartyCloseTime = 1; //茶会倒计时显示那里的截至时间
- repeated RoleContainerProto RoleContainerList = 2;
- }
- //退出茶会话,服务端就不会再推送S2C_RoleContainerInfos
- //ResponseType S2C_QuitTeapparty
- message C2S_QuitTeapparty // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_QuitTeapparty // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //更换角色坑位以及搭配
- //ResponseType S2C_ChangeTeapartyDressup
- message C2S_ChangeTeapartyDressup // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 TeapartyRoleId = 1; //扮演的角色Id
- repeated int32 EquipIds = 2; //换装id列表
- }
- message S2C_ChangeTeapartyDressup // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 PerScore = 1; //个人评分分数
- }
- //走完剧情流程上报节点--策划说到了结算界面就算走完了,关了程序再进来也不用继续从头走流程了(就可以直接领奖励了),否则重新看剧情
- //ResponseType S2C_ReportTeapartyComplete
- message C2S_ReportTeapartyComplete // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_ReportTeapartyComplete // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 PerScore = 1; //个人评分分数
- }
- //领取个人评分奖励
- //ResponseType S2C_GetPerRatingAward
- message C2S_GetPerRatingAward // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int32 Score = 1; //领取奖励的分
- int64 RoleId = 2;
- }
- message S2C_GetPerRatingAward // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 PerScore = 1; //个人评分分数
- repeated ItemInfoProto BonusList = 2; //奖励列表
- repeated int32 PerAwardStatusVs = 3; //个人评分对应的领奖状态 由枚举 ConstBonusStatus
- }
- //领取雅集评分奖励
- //ResponseType S2C_GetLeagueRatingAward
- message C2S_GetLeagueRatingAward // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Score = 1; //领取奖励的分
- }
- message S2C_GetLeagueRatingAward // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励列表
- repeated int32 LeagueAwardStatusVs = 2; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
- }
- //会长点击挑战,开启挑战
- //ResponseType S2C_TeapartyStartChallenge
- message C2S_TeapartyStartChallenge // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_TeapartyStartChallenge // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated RoleContainerProto RoleContainerList = 1;
- }
- //提交临时搭配
- //ResponseType S2C_ChangeTempCollocation
- message C2S_ChangeTempCollocation // IActorLeagueRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- repeated int32 TempEquipIds = 1; //临时穿搭
- }
- message S2C_ChangeTempCollocation // IActorLeagueResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 TempEquipIds = 1; //临时穿搭---如果本次活动提交过搭配方案,即使使用该协议提交临时搭配依然以 提交过正式搭配的为基准
- }
- //通知茶会状态
- message S2C_TeapartyStatus // IActorMessage
- {
- int32 TeapartyId = 1; //茶会期数 --未开启则期数为0
- int32 Status = 2; // 0未开启 1集结中 2已集结
- int64 TeaPartyCloseTime = 3; //茶会倒计时显示那里的截至时间
- }
- //服务端推送每个扮演角色坑位信息最新情况
- message S2C_RoleContainerInfos // IActorMessage
- {
- repeated RoleContainerProto RoleContainerList = 1;
- }
- //服务端推送雅集评分分数+雅集评分对应的领奖状态
- message S2C_LeagueScore // IActorMessage
- {
- int32 LeagueScore = 1; //雅集评分分数
- repeated int32 LeagueAwardStatusVs = 2; //雅集评分对应的领奖状态 由枚举 ConstBonusStatus
- }
- //========================许愿池协议
- //许愿池许愿记录
- //ResponseType S2C_AddWishingPoolInfo
- message C2S_AddWishingPoolInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1; //许愿的套装id
- int32 ActivityId = 2; //活动id
- }
- message S2C_AddWishingPoolInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1; //活动id
- bool Status = 2; //true已进行许愿 false未进行许愿
-
- }
- //获取许愿池许愿记录
- //ResponseType S2C_GetWishingPoolInfo
- message C2S_GetWishingPoolInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetWishingPoolInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 KsActivityId = 1; //活动ids--只存放开启中的许愿池活动id
- repeated bool VsStatus = 2; //true已进行许愿 false未进行许愿
- }
- //活动开启服务端推送最新许愿记录
- message S2C_PushWishingPoolInfo // IActorMessage
- {
- repeated int32 KsActivityId = 1; //活动ids--只存放开启中的许愿池活动id
- repeated bool VsStatus = 2; //true已进行许愿 false未进行许愿
- }
- //============================================阿福的赠礼
- //阿福赠礼详细信息
- message ActivityLoginInfoProto
- {
- bool ActivityIsOpen = 1; //阿福赠礼活动是否开启
- long EndTime = 2; //阿福赠礼活动截止时间
- int32 IndexDay = 3; //当前开到第几天
- bool IsBuy = 4; //是否购买了加赠 true.已购买 false.未购买
- repeated int32 FreeRewardStatusList = 5; //对应每天的奖励状态列表--由枚举 ConstBonusStatus 索引按照天数1-N对应奖励状态
- repeated int32 PayRewardStatusList = 6; //对应每天的超级奖励状态列表--由枚举 ConstBonusStatus 索引按照天数1-N对应奖励状态
-
- }
- //获取玩家阿福赠礼的信息
- //ResponseType S2C_GetActivityLoginInfo
- message C2S_GetActivityLoginInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetActivityLoginInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- }
- //领取阿福赠礼奖励(免费奖励,花钱的奖励)
- //ResponseType S2C_GetActivityLoginReward
- message C2S_GetActivityLoginReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- bool IsPay = 1; //true.领取付费奖励 false.领取免费奖励
- int32 RewardDay = 2; //领取哪天的奖励
- }
- message S2C_GetActivityLoginReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- repeated ItemInfoProto BonusList = 2; //奖励列表
- }
- //服务端推送同步玩家最新的阿福赠礼信息--推送情况:购买阿福赠礼,活动开启,活动关闭
- message S2C_PushActivityLoginInfo // IActorMessage
- {
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- }
- //阿福赠礼一键领取--需要加购才拥有一键领取功能
- //ResponseType S2C_GetAllActivityLoginReward
- message C2S_GetAllActivityLoginReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetAllActivityLoginReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- repeated ItemInfoProto BonusList = 2; //奖励列表
- }
- //IOS验证订单,进行发货--C2S_ShopBuy请求之后
- //ResponseType S2C_IosVerifyOrder
- message C2S_IosVerifyOrder // IActorLocationRequest
- {
- int32 RpcId = 90;
- string OrderId = 1;
- string TransactionId = 2;
- int32 EnvironmentType = 3; //1正式环境 0沙盒环境
- }
- message S2C_IosVerifyOrder // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string OrderId = 1;
- string TransactionId = 2;
- }
- message GameInfoProto
- {
- int32 GameId = 1; //游戏id
- int32 GameType = 2;
- bool IsCleared = 4; //true通关 false未通关
- repeated int32 StarRewardStatus = 5; //星级奖励状态 ConstBonusStatus
- bool IsUnlock = 6; //是否解锁
- int32 PlayCount = 7; //游玩次数
- int32 FirstPassRewardStatus = 8; // 首通奖励状态 ConstBonusStatus
- }
- //获取活动内的小游戏关卡信息列表--GameType-GameId 只有一条数据
- //ResponseType S2C_GetActivityGameInfos
- message C2S_GetActivityGameInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_GetActivityGameInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated GameInfoProto GameInfoList = 1;
- }
- //小游戏开始游戏
- //ResponseType S2C_MiniGameStart
- message C2S_MiniGameStart // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 GameId = 1; //小游戏Id
- int32 GameType = 2; //小游戏类型
- int32 ActivityId = 3; //活动id
- }
- message S2C_MiniGameStart // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //小游戏结束
- //ResponseType S2C_MiniGameEnd
- message C2S_MiniGameEnd // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 GameId = 1; //小游戏Id
- int32 GameType = 2; //小游戏类型
- int32 TotalTime = 3; //游戏用时 单位s
- bool IsWin = 4; //ture胜利 false失败
- int32 ActivityId = 5; //活动id
- }
- message S2C_MiniGameEnd // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励列表
- GameInfoProto GameInfo = 2;
- }
- //小游戏关卡解锁
- //ResponseType S2C_MiniGameUnlock
- message C2S_MiniGameUnlock // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 GameId = 1; //小游戏Id
- int32 GameType = 2; //小游戏类型
- int32 ActivityId = 3; //活动id
- }
- message S2C_MiniGameUnlock // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //领取星级奖励
- //ResponseType S2C_GetStarMiniGameRewrd
- message C2S_GetStarMiniGameRewrd // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 GameId = 1; //小游戏Id
- int32 GameType = 2; //小游戏类型
- int32 ActivityId = 3; //活动id
- int32 Star = 4; //星级
- }
- message S2C_GetStarMiniGameRewrd // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励列表
- GameInfoProto GameInfo = 2;
- }
- //领取首通奖励
- //ResponseType S2C_GetFirstPassReward
- message C2S_GetFirstPassReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 GameId = 1; //小游戏Id
- int32 GameType = 2; //小游戏类型
- int32 ActivityId = 3; //活动id
- }
- message S2C_GetFirstPassReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励列表
- GameInfoProto GameInfo = 2;
- }
- //修改限定数值,且每日重置为0---用来做今日不提示功能
- //ResponseType S2C_UpLimitNumericValue
- message C2S_UpLimitNumericValue // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 NumericType = 1; //数值类型 限定NumericType.IsPropYchmActivity 与 NumericType.IsPropCzykActivity (服务端开放修改的数值要慎重)
- int32 NumericVal = 2; //值
- }
- message S2C_UpLimitNumericValue // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 NumericType = 1;
- int32 NumericVal = 2;
- }
- //获取物品收集量
- //ResponseType S2C_GetItemCollect
- message C2S_GetItemCollect // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetItemCollect // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int ItemIds = 1; //收集的物品id
- repeated int Counts = 2; //收集的数量
- }
- //推送物品收集量
- message S2C_ItemCollect // IActorMessage
- {
- repeated int ItemIds = 1; //收集的物品id
- repeated int Counts = 2; //收集的数量
- }
- //合成活动=======================
- //部件合成信息
- message ItemSyntheticProto
- {
- int32 ItemId = 1; //部件id
- int32 Status = 2; //1.未合成 2.已合成
- }
- //获取合成列表--已经废弃
- //ResponseType S2C_GetItemSyntheticInfos
- message C2S_GetItemSyntheticInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- }
- message S2C_GetItemSyntheticInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemSyntheticProto ItemSynthetics = 1;
- }
- //部件合成
- //ResponseType S2C_ItemSynthetic
- message C2S_ItemSynthetic // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- int32 ItemId = 2; //需要合成的物品id
- }
- message S2C_ItemSynthetic // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //合成获得的物品列表
- }
- //拜访活动========================
- //npc信息
- message NpcVisitProto
- {
- int32 ActivityId = 1; //活动id
- int32 NpcId = 2;
- int32 UnlockStatus = 3; //0.未解锁 1.可解锁 2.已解锁
- int32 RewrdStatus = 4; //礼盒奖励状态
- }
- //获取npc列表信息
- //ResponseType S2C_GetNpcVisits
- message C2S_GetNpcVisits // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- }
- message S2C_GetNpcVisits // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated NpcVisitProto NpcVisits = 1;
- }
- //解锁npc
- //ResponseType S2C_UnlockNpcVisit
- message C2S_UnlockNpcVisit // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- int32 NpcId = 2;
- }
- message S2C_UnlockNpcVisit // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated NpcVisitProto NpcVisits = 1;
- }
- //领取npc礼盒
- //ResponseType S2C_GetNpcVisitRewrd
- message C2S_GetNpcVisitRewrd // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- int32 NpcId = 2;
- }
- message S2C_GetNpcVisitRewrd // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated NpcVisitProto NpcVisits = 1;
- repeated ItemInfoProto BonusList = 2; //礼盒奖励
- }
- //任务完成推送最新npc礼盒等状态
- message S2C_PushNpcVisits // IActorMessage
- {
- repeated NpcVisitProto NpcVisits = 1;
- }
- //推送最新排队的信息
- message G2C_UpdateQueue // IMessage
- {
- int32 Index = 1; //所在的位置
- int32 Count = 2; //当前排队的总人数
- }
- //取消排队
- //ResponseType G2C_CancelQueue
- message C2G_CancelQueue // IRequest
- {
- int32 RpcId = 90;
- int64 UnitId = 1; //玩家的id
- }
- message G2C_CancelQueue // IResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //获取招财进宝类型的活动奖励列表
- //ResponseType S2C_GetDressRewrdStatusList
- message C2S_GetDressRewrdStatusList // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- }
- message S2C_GetDressRewrdStatusList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewrdIds = 1; //已经领取的奖励id
- }
- //领取招财进宝类型的活动奖励
- //ResponseType S2C_GetDressRewrd
- message C2S_GetDressRewrd // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- int32 RewrdId = 2; //ActivityDressCfg.id
- }
- message S2C_GetDressRewrd // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewrdIds = 1; //已经领取的奖励ids
- repeated ItemInfoProto BonusList = 2; //兑换后获得的物品奖励
- }
- //获取成长基金奖励状态列表
- //ResponseType S2C_GetGrowthFundRewrdStatus
- message C2S_GetGrowthFundRewrdStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- }
- message S2C_GetGrowthFundRewrdStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewrdIds = 1; //已经领取的奖励ids
- }
- //领取成长基金奖励
- //ResponseType S2C_GetGrowthFundRewrd
- message C2S_GetGrowthFundRewrd // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1; //活动id
- int32 RewrdId = 2; //GrowthFundCfg.id
- }
- message S2C_GetGrowthFundRewrd // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewrdIds = 1; //已经领取的奖励ids
- repeated ItemInfoProto BonusList = 2; //兑换后获得的物品奖励
- }
- //获取红包信息
- //ResponseType S2C_GetRedPacketInfo
- message C2S_GetRedPacketInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_GetRedPacketInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- int32 Status = 2; //红包状态 由RedPacketStatus定义
- int32 ItemId = 3; //奖励物品
- int64 ItemNum = 4; //奖励数量(单倍)
- }
- //开红包
- //ResponseType S2C_ReqOpenRedPacket
- message C2S_ReqOpenRedPacket // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_ReqOpenRedPacket // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- int32 ItemId = 2; //奖励物品
- int64 ItemNum = 3; //奖励数量(单倍)
- }
- //通知红包双倍
- message S2C_NoticeRedPacketDouble // IActorMessage
- {
- int32 ActivityId = 1;
- int32 ItemId = 2; //奖励物品
- int64 ItemNum = 3; //奖励数量(双倍)
- }
- //双倍红包
- //ResponseType S2C_ReqDoubleRedPacket
- message C2S_ReqDoubleRedPacket // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_ReqDoubleRedPacket // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //获取活动签到奖励状态
- //ResponseType S2C_GetActivitySignInfos
- message C2S_GetActivitySignInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- }
- message S2C_GetActivitySignInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- repeated int32 ksDay = 2; //登录第几天列表
- repeated int32 vsStatus = 3; //奖励状态列表
- }
- //活动签到领取奖励
- //ResponseType S2C_ReqGetAcitivitySignBonus
- message C2S_ReqGetAcitivitySignBonus // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ActivityId = 1;
- int32 Day = 2; //领的第几天
- }
- message S2C_ReqGetAcitivitySignBonus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ActivityId = 1;
- int32 Day = 2; //领的第几天
- }
- //========================================================合成副本增加的协议
- //评分奖励状态列表获取
- //ResponseType S2C_GetInstanceZonesRatingRewardList
- message C2S_GetInstanceZonesRatingRewardList // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 StoryLevelId = 1; //关卡id
- }
- message S2C_GetInstanceZonesRatingRewardList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 StoryLevelId = 1; //关卡id
- repeated int RewardKs = 2; //奖励ids
- repeated int RewardVs = 3; //奖励状态
- }
- //评分奖励领取
- //ResponseType S2C_GetInstanceZonesRatingReward
- message C2S_GetInstanceZonesRatingReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 StoryLevelId = 1; //关卡id
- int32 RewardId = 2; //奖励id
- }
- message S2C_GetInstanceZonesRatingReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 StoryLevelId = 1; //关卡id
- repeated int RewardKs = 2; //奖励ids
- repeated int RewardVs = 3; //奖励状态
- repeated ItemInfoProto BonusList = 4; //获得的物品奖励
- }
- //全部评分奖励领取
- //ResponseType S2C_GetAllInstanceZonesRatingReward
- message C2S_GetAllInstanceZonesRatingReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 StoryLevelId = 1; //关卡id
- }
- message S2C_GetAllInstanceZonesRatingReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //获得的物品奖励
- repeated int RewardKs = 2; //奖励ids
- repeated int RewardVs = 3; //奖励状态
- }
- //章节奖励列表
- //ResponseType S2C_GetChapterRewardList
- message C2S_GetChapterRewardList // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetChapterRewardList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewardIds = 1; //已经领取的奖励ids
- }
- //领取章节奖励
- //ResponseType S2C_GetChapterReward
- message C2S_GetChapterReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 RewardId = 1; //奖励id
- }
- message S2C_GetChapterReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int RewardIds = 1; //已经领取的奖励ids
- repeated ItemInfoProto BonusList = 2; //获得的物品奖励
- }
- //关卡排行榜单条数据实体
- message LevelRankProto
- {
- int32 RankIndex = 1; //排名
- string RoleName = 2; //玩家名称
- int32 HeadItemId = 3; //头像物品id
- int32 HeadBorderItemId = 4; //头像框物品id
- int64 RatingScore = 5; //评分
- string LeagueName = 6; //雅集名称
- int64 RoleId = 7;
- int32 RoleLvl = 8;
- }
- //获取关卡排行榜数据协议
- //ResponseType S2C_GetInstanceZonesRankList
- message C2S_GetInstanceZonesRankList // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91; //前端不用管
- int32 LevelCfgId = 1; //关卡id
- }
- message S2C_GetInstanceZonesRankList // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LevelRankProto LevelRankList = 1; //关卡排行榜数据列表
- int64 NexTime = 2; //下次刷新时间,毫秒级时间戳
- LevelRankProto MyLevelRankInfo = 3; //自己的关卡排行榜数据里欸包
- }
- //获取关卡好友排行榜数据协议
- //ResponseType S2C_GetInstanceZonesFriendRankList
- message C2S_GetInstanceZonesFriendRankList // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91; //前端不用管
- int32 LevelCfgId = 1; //关卡id
- }
- message S2C_GetInstanceZonesFriendRankList // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LevelRankProto FriendLevelRankList = 1; //好有关卡排行榜数据列表--100条数据
- LevelRankProto MyLevelRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于FriendLevelRankList
- }
- //合成排行榜单条数据实体
- message SuitCollectRankProto
- {
- int32 RankIndex = 1; //排名
- string RoleName = 2; //玩家名称
- int32 HeadItemId = 3; //头像物品id
- int32 HeadBorderItemId = 4; //头像框物品id
- int64 TimeSecNum = 5; //用时,单位秒,如:30秒
- int32 CompletedNum = 6; //完成量
- int32 TotalNum = 7; //套装部件总数量
- string LeagueName = 8; //雅集名称
- int32 RoleLvl = 9;
- }
- //获取合成排名榜数据协议
- //ResponseType S2C_GetSuitCollectRankList
- message C2S_GetSuitCollectRankList // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91; //前端不用管
- int32 SuitId = 1; //套装id
- }
- message S2C_GetSuitCollectRankList // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated SuitCollectRankProto SuitCollectRankList = 1; //合成排行榜数据列表
- SuitCollectRankProto MySuitCollectRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于 SuitCollectRankList
- int64 NexTime = 3; //下次刷新时间,毫秒级时间戳
- }
- //获取好友合成排名榜数据协议
- //ResponseType S2C_GetFriendSuitCollectRankList
- message C2S_GetFriendSuitCollectRankList // IActorOpenRoleInfoRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91; //前端不用管
- int32 SuitId = 1; //套装id
- }
- message S2C_GetFriendSuitCollectRankList // IActorOpenRoleInfoResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated SuitCollectRankProto FriendSuitCollectRankList = 1; //好友合成排行榜数据列表
- SuitCollectRankProto MySuitCollectRank = 2; // 自己的排行数据,如果在榜单上的话,也会存在于 FriendSuitCollectRankList
- }
- //添加或者修改数据记录协议
- //ResponseType S2C_UpdateDataRecord
- message C2S_UpdateDataRecord // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 K = 1; //客户端自定义的键
- int64 V = 2; //客户端自定义的值
- int32 ResetType = 3; //0不重置 1.每日重置值为0 2.每周重置值为0 3.每月重置值为0(目前只有0生效,其他的之后有需求再弄,留个字段只是为了之后有需要可以热更)
- }
- message S2C_UpdateDataRecord // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 Ks = 1; //客户端自定义的所有键
- repeated int64 Vs = 2; //客户端自定义的所有值
- repeated int64 ResetTypes = 3; //客户端自定义的所有对应类型
- }
- //获取数据记录协议
- //ResponseType S2C_GetDataRecord
- message C2S_GetDataRecord // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetDataRecord // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 AllKs = 1; //客户端自定义的所有键
- repeated int64 AllVs = 2; //客户端自定义的所有值
- repeated int64 ResetTypes = 3; //客户端自定义的所有对应类型
- }
- //请求高级合成副本关卡最高分数据
- //ResponseType M2C_GetCompositeLevelMaxScoreInfos
- message C2M_GetCompositeLevelMaxScoreInfos // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ChapterId = 1; // 章节配置Id
- }
- message M2C_GetCompositeLevelMaxScoreInfos // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated LevelRoleInfoProto LevelRoleInfoList = 1; //关卡数据&最高分玩家列表
- }
- //修改称号
- //ResponseType S2C_UpTitleItem
- message C2S_UpTitleItem // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 TitleItemId = 1; //称号物品id
- }
- message S2C_UpTitleItem // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 TitleItemId = 1; //称号物品id
- }
- //领取登录礼包奖励
- //ResponseType S2C_GetNewcomerRewards
- message C2S_GetNewcomerRewards // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetNewcomerRewards // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool Status = 1; //奖励状态
- repeated ItemInfoProto BonusList = 2; //奖励的礼包物品列表
- }
- //获取登录礼包奖励状态
- //ResponseType S2C_GetNewcomerRewardStatus
- message C2S_GetNewcomerRewardStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetNewcomerRewardStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool Status = 1; //奖励状态
- bool OpenStatus = 2; //开启状态
- }
- //通知登录礼包双状态
- message S2C_PushNewcomerRewardStatus // IActorMessage
- {
- bool Status = 1; //奖励状态
- bool OpenStatus = 2; //开启状态
- }
- //获取关卡章节奖励状态
- //ResponseType S2C_GetChapterPassStatus
- message C2S_GetChapterPassStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetChapterPassStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 PassStatusVs = 1; //章节ids
- repeated int32 PassStatusKs = 2; //对应的奖励状态
- }
- //领取关卡章节奖励
- //ResponseType S2C_GethapterPassReward
- message C2S_GethapterPassReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ChapterId = 1;
- }
- message S2C_GethapterPassReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励列表
- repeated int32 PassStatusVs = 2; //章节ids
- repeated int32 PassStatusKs = 3; //对应的奖励状态
- }
- //获取赛季段位奖励状态
- //ResponseType S2C_GetSeasonGradeRewardStatus
- message C2S_GetSeasonGradeRewardStatus // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetSeasonGradeRewardStatus // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 RewardStatusVs = 1; //段位id
- repeated int32 RewardStatusKs = 2; //奖励状态
- }
- //领取赛季段位奖励状态
- //ResponseType S2C_GetSeasonGradeReward
- message C2S_GetSeasonGradeReward // IActorArenaRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 Grade = 1; //需要领取的段位奖励
- }
- message S2C_GetSeasonGradeReward // IActorArenaResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 RewardStatusVs = 1; //段位id
- repeated int32 RewardStatusKs = 2; //奖励状态
- repeated ItemInfoProto BonusList = 3; //奖励列表
- }
- //套装3选1=======
- //获取选择的状态
- //ResponseType S2C_GetSuitSelectStatus
- message C2S_GetSuitSelectStatus // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetSuitSelectStatus // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool Status = 1; //false: 未选择 true:已选择
- int32 SuitId = 2; //已经选择的套装id
- }
- //选择一套套装
- //ResponseType S2C_GetSuitSelectReward
- message C2S_GetSuitSelectReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 SuitId = 1; //选择的套装id
- }
- message S2C_GetSuitSelectReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool Status = 1; //false: 未选择 true:已选择
- int32 SuitId = 2; //已经选择的套装id
- repeated ItemInfoProto RewardList = 3; //套装部件物品
- }
- //卡牌合成
- //ResponseType M2C_CardSynthetic
- message C2M_CardSynthetic // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- }
- message M2C_CardSynthetic // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto RewardList = 1; //获得的东西
- int32 Num = 2; //卡牌合成次数
- }
- //获取某张卡牌合成次数
- //ResponseType M2C_GetCardSyntheticNum
- message C2M_GetCardSyntheticNum // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 ItemId = 1;
- }
- message M2C_GetCardSyntheticNum // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 ItemId = 1; //卡牌id
- int32 Num = 2; //卡牌合成次数
-
- }
- //SDK订单回调成功或者失败
- //ResponseType M2C_SdkOrderStatusCallback
- message C2M_SdkOrderStatusCallback // IActorLocationRequest
- {
- int32 RpcId = 90;
- string CallbackParams = 1; //回调的字符串
- }
- message M2C_SdkOrderStatusCallback // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- //=======================================学院协议
- //部位信息
- message CollectPartInfo
- {
- int32 CollectPartType = 1; //部位由枚举 CollectPartID
- int32 Stage = 2; //阶段
- int32 Lvl = 3; //等级
- }
- //获取各个部位的技能学习信息
- //ResponseType M2C_GetDressUpSkillDes
- message C2M_GetDressUpSkillDes // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_GetDressUpSkillDes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated CollectPartInfo CollectPartInfos = 1; //每个部位的技能信息
- }
- //学习,升级部位技能
- //ResponseType M2C_UpDressUpSkill
- message C2M_UpDressUpSkill // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 CollectPartType = 1; //部位由枚举 CollectPartID
- int32 Stage = 2; //阶段
- int32 Lvl = 3; //等级
- }
- message M2C_UpDressUpSkill // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- CollectPartInfo CollectPartInfo = 1; //每个部位的技能信息
- }
- //分享记录次数, 有奖励返回哦
- //ResponseType M2C_ShareRecordTimes
- message C2M_ShareRecordTimes // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message M2C_ShareRecordTimes // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 TotalShareNum = 1;
- int32 DayShareNum = 2;
- repeated ItemInfoProto RewardList = 3;
- }
- //=========================消暑礼包===已废弃
- //获取玩家消暑礼包状态
- //ResponseType M2C_GetSummerVacationBoxList
- message C2M_GetSummerVacationBoxList // IActorLocationRequest
- {
- int32 RpcId = 90;
- int ActivityId = 1;
- }
- message M2C_GetSummerVacationBoxList // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
- repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
- bool IsBuyActivityShop = 3; //是否购买活动对应的 消暑礼包
- }
- //领取单个消暑礼包的奖励
- //ResponseType M2C_GetSummerVacationBoxReward
- message C2M_GetSummerVacationBoxReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int ActivityId = 1;
- int Day = 2; //天
- }
- message M2C_GetSummerVacationBoxReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
- repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
- repeated ItemInfoProto Rewards = 3; //领取得到的奖励
- }
- //一键领取消暑礼包奖励
- //ResponseType M2C_GetAllSummerVacationBoxReward
- message C2M_GetAllSummerVacationBoxReward // IActorLocationRequest
- {
- int32 RpcId = 90;
- int ActivityId = 1;
- }
- message M2C_GetAllSummerVacationBoxReward // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int OrdinaryRewardStatus = 1; //普通奖励状态,按照配置顺序索引的奖励状态
- repeated int PayRewardStatus = 2; //付费奖励状态,按照配置顺序索引的奖励状态
- repeated ItemInfoProto Rewards = 3; //领取得到的奖励
- }
- //============================================阿福的赠礼->消暑礼包
- //获取玩家消暑礼包的信息
- //ResponseType S2C_GetActivityLoginInfoExt
- message C2S_GetActivityLoginInfoExt // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetActivityLoginInfoExt // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- }
- //领取消暑礼包奖励(免费奖励,花钱的奖励)
- //ResponseType S2C_GetActivityLoginRewardExt
- message C2S_GetActivityLoginRewardExt // IActorLocationRequest
- {
- int32 RpcId = 90;
- bool IsPay = 1; //true.领取付费奖励 false.领取免费奖励
- int32 RewardDay = 2; //领取哪天的奖励
- }
- message S2C_GetActivityLoginRewardExt // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- repeated ItemInfoProto BonusList = 2; //奖励列表
- }
- //服务端推送同步玩家最新的消暑礼包信息--推送情况:购买消暑礼包,活动开启,活动关闭
- message S2C_PushActivityLoginInfoExt // IActorMessage
- {
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- }
- //消暑礼包一键领取--需要加购才拥有一键领取功能
- //ResponseType S2C_GetAllActivityLoginRewardExt
- message C2S_GetAllActivityLoginRewardExt // IActorLocationRequest
- {
- int32 RpcId = 90;
- }
- message S2C_GetAllActivityLoginRewardExt // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- ActivityLoginInfoProto ActivityLoginInfo = 1;
- repeated ItemInfoProto BonusList = 2; //奖励列表
- }
- //========================================搭配评选赛====================================
- //搭配信息
- message CollocationInfo
- {
- string ItemId = 1; //物品id
- string ClientPosition = 2; //客户端用的xy位置
- }
- //作品信息,用于JudgingRoundRoleInfo, 自己上传的作品信息
- message MyWorksIdInfo
- {
- int64 Score = 1; //心动分
- int32 Rank = 2; //排名
- int64 WorksId = 3; //作品id
- string PictureTempUrl = 4; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
- repeated CollocationInfo CollocationInfoList = 5;
- }
- //玩家搭配作品信息
- message JudgingRoundRoleInfo
- {
- long RoleId = 1; //角色id
- string RoleName = 2; //角色名称
- string LeagueName = 4; //联盟名称
- int32 HeadItemId = 5; //头像物品id
- int32 HeadBorderItemId = 6; //头像框物品id
- int64 Score = 7; //心动分
- int32 Rank = 8; //排名
- int64 WorksId = 9; //作品id
- string PictureTempUrl = 10; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
- repeated CollocationInfo CollocationInfoList = 11;
- int32 BagId = 12; //背景id
- int32 ActionId = 13; //动作id
- int64 CreationTime = 14; //创建时间
- bool ToppingStatus = 15; //置顶状态
- }
- //单条作品集信息
- message WorksCollectionInfo
- {
- int32 OldJudgingRoundOpenId = 1; //往期搭配赛期数id
- string PictureTempUrl = 2; //照片临时下载路径,出于流量安全,每个下载文件的路径都是限时的,暂限5MIN
- long RoleId = 3; //角色id--用不到
- string RoleName = 4; //角色名称--用不到
- string LeagueName = 5; //联盟名称--用不到
- int64 Score = 6; //心动分--用不到
- }
- //往期作品集单条信息
- message OldTopWorksInfo
- {
- int32 JudgingRoundOpenId = 1; //期数id
- int64 OpenTime = 2; //开启时间,13位毫秒级时间戳
- string MaxScoreWorksUrl = 3; //最高分的玩家图片下载链接
- int64 RoleId = 4; //角色id
- string RoleName = 5;
- }
- //获取搭配评选赛的信息
- //ResponseType S2C_GetJudgingRoundInfo
- message C2S_GetJudgingRoundInfo // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetJudgingRoundInfo // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
- int32 PhaseType = 2; //当前处于的阶段类型 1.集结期 2.评选期 3.结算期
- int64 PhaseEndTime = 3; //当前阶段结束时间,13位毫秒级时间戳
- MyWorksIdInfo MyWorks = 4; //本期自己上传的作品信息list--暂时好像用不到
- int32 Num = 5; //当天获奖励次数
- }
- //获取当前排行榜数据(只有50条数据)
- //ResponseType S2C_GetCurJudgingRoundRankList
- message C2S_GetCurJudgingRoundRankList // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetCurJudgingRoundRankList // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //排行榜玩家信息
- }
- //请求投稿搭配评选赛作品--上传
- //ResponseType S2C_RequestUpLoadJudgingRoundWorks
- message C2S_RequestUpLoadJudgingRoundWorks // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 PictureType = 1; //图片类型jpg,png -- 值由 PictureType 定义
- repeated CollocationInfo CollocationInfoList = 2; //搭配信息
- int32 BagId = 3; //背景id
- int32 ActionId = 4; //动作id
- }
- message S2C_RequestUpLoadJudgingRoundWorks // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1; //作品id
- string TempPictureUrl = 2; //图片临时上传url
- }
- //通知服务端上传成功
- //ResponseType S2C_NoticeJudgingRoundWorksUploaded
- message C2S_NoticeJudgingRoundWorksUploaded // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 WorksId = 1; //作品id
- }
- message S2C_NoticeJudgingRoundWorksUploaded // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated MyWorksIdInfo MyWorksIdInfoList = 1; //本期自己上传的作品信息list
- }
- //往期作品集
- //ResponseType S2C_GetPreviousWorksCollection
- message C2S_GetPreviousWorksCollection // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetPreviousWorksCollection // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated WorksCollectionInfo WorksCollectionList = 1; //作品集列表
- }
- //进入往期作品集排行榜:(20条数据)
- //ResponseType S2C_GetOldJudgingRoundRankList
- message C2S_GetOldJudgingRoundRankList // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
- }
- message S2C_GetOldJudgingRoundRankList // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //排行榜玩家信息
- }
- //获取心动选择的两个玩家
- //ResponseType S2C_GetTwoPlayers
- message C2S_GetTwoPlayers // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetTwoPlayers // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1; //两个玩家的作品信息
- }
- //选择心动的一个作品
- //ResponseType S2C_SelFavoriteWorks
- message C2S_SelFavoriteWorks // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 WorksId = 1; //心动的作品id
- int64 AnotherWorksId = 2; //另外一个作品id
- }
- message S2C_SelFavoriteWorks // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //普通奖励列表
- repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 2; //两个玩家的作品信息
- int32 Num = 3; //当天获奖励次数
- repeated ItemInfoProto SpecialBonusList = 4; //特殊奖励列表
- }
- //获取一个热门推荐的玩家:
- //ResponseType S2C_GetOnePlayers
- message C2S_GetOnePlayers // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetOnePlayers // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- JudgingRoundRoleInfo JudgingRoundRole = 1; //一个玩家的作品信息
- }
- //================搭配评选赛的相册协议
- //C2S获取玩家所有搭配评选赛相册数据协议
- //ResponseType S2C_GetJudgingRoundWorksList
- message C2S_GetJudgingRoundWorksList // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- }
- message S2C_GetJudgingRoundWorksList // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated JudgingRoundRoleInfo JudgingRoundRoleInfoList = 1;
- }
- //C2S批量删除玩家搭配评选赛相册协议
- //ResponseType S2C_RemovedJudgingRoundWorks
- message C2S_RemovedJudgingRoundWorks // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- repeated int64 WorksIds = 1; //需要删除的作品ids
- }
- message S2C_RemovedJudgingRoundWorks // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int64 WorksIds = 1; //删除成功的作品ids
- }
- //C2S修改搭配评选赛图片锁定状态
- //ResponseType S2C_UpJudgingRoundWorksLockingStatus
- message C2S_UpJudgingRoundWorksLockingStatus // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 WorksId = 1;
- bool Status = 2; //作品状态: true锁定 false不锁定
- }
- message S2C_UpJudgingRoundWorksLockingStatus // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- bool Status = 2; //作品状态: true置顶 false不置顶
- }
- //C2S修改搭配评选赛作品置顶状态
- //ResponseType S2C_UpJudgingRoundWorksToppingStatus
- message C2S_UpJudgingRoundWorksToppingStatus // IActorJudgingRoundRequest
- {
- int32 RpcId = 90;
- int64 RoleId = 91;
- int64 WorksId = 1;
- bool Status = 2; //作品状态: true置顶 false不置顶
- }
- message S2C_UpJudgingRoundWorksToppingStatus // IActorJudgingRoundResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int64 WorksId = 1;
- bool Status = 2; //作品状态: true置顶 false不置顶
- }
- //服务端推送搭配赛最新状态
- message S2C_PushJudgingRoundInfo // IActorMessage
- {
- int32 JudgingRoundOpenId = 1; //当前搭配赛期数id
- int32 PhaseType = 2; //当前处于的阶段类型 1.集结期 2.评选期 3.结算期
- int64 PhaseEndTime = 3; //当前阶段结束时间,13位毫秒级时间戳
- }
- //=============================爬塔协议
- //词牌磨损信息
- message CardAbrasionInfo
- {
- int32 Card = 1; //卡牌id
- int32 UseNum = 2; //使用次数
- string YuLiu = 3;
- }
- //爬塔关卡信息
- message CimbingTowerLevelInfoProto
- {
- int32 LevelId = 1; //爬塔关卡id
- int64 WeekMaxScore = 2; //本周最高得分
- bool IsGetReward = 3; //是否获得过奖励
- bool IsPass = 4; //是否通过(重置的时候会进行清理成false)
- string YuLiu = 5;
- }
- //1.获取爬塔信息协议:
- //ResponseType S2C_GetGetCimbingTowerInfo
- message C2S_GetCimbingTowerInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- string YuLiu = 1;
- }
- message S2C_GetGetCimbingTowerInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated string WeekTags = 1; //本周主题标签
- repeated int WeekUserItems = 2; //本周使用过的物品ids
- repeated CardAbrasionInfo CardAbrasionInfoList = 3; //词牌磨损信息list
- repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 4; //爬塔关卡信息list
- repeated int32 EquipAIds = 5; //换装id列表1
- repeated int32 EquipBIds = 6; //换装id列表2
- repeated int32 EquipCIds = 7; //换装id列表3
- int32 MaxLevelId = 8; //历史最高挑战关卡id
- string YuLiu = 9;
- }
- //2.重置爬塔协议 一周一次:
- //ResponseType S2C_CimbingTowerResetLevel
- message C2S_CimbingTowerResetLevel // IActorLocationRequest
- {
- int32 RpcId = 90;
- string YuLiu = 1;
- }
- message S2C_CimbingTowerResetLevel // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated CardAbrasionInfo CardAbrasionInfoList = 1; //词牌磨损信息list(重置的时候会重置磨损度)
- repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 2; //爬塔关卡信息list
- string YuLiu = 3;
- }
- //3.保存搭配信息协议:
- //ResponseType S2C_CimbingTowerSaveCollocation
- message C2S_CimbingTowerSaveCollocation // IActorLocationRequest
- {
- int32 RpcId = 90;
- repeated int32 EquipAIds = 1; //换装id列表1
- repeated int32 EquipBIds = 2; //换装id列表2
- repeated int32 EquipCIds = 3; //换装id列表3
- string YuLiu = 4;
- }
- message S2C_CimbingTowerSaveCollocation // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated int32 EquipAIds = 1; //换装id列表1
- repeated int32 EquipBIds = 2; //换装id列表2
- repeated int32 EquipCIds = 3; //换装id列表3
- string YuLiu = 4;
- }
- //4.关卡挑战协议:
- //ResponseType S2C_CimbingTowerFightLevel
- message C2S_CimbingTowerFightLevel // IActorLocationRequest
- {
- int32 RpcId = 90;
- int32 LevelId = 1; //关卡id
- repeated int64 FightScoreList = 2; //战斗得分
- repeated int32 EquipAIds = 3; //换装id列表1
- repeated int32 EquipBIds = 4; //换装id列表2
- repeated int32 EquipCIds = 5; //换装id列表3
- string YuLiu = 6;
- }
- message S2C_CimbingTowerFightLevel // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- bool FightStatus = 1; //挑战胜利:true 挑战胜利失败:false
- CimbingTowerLevelInfoProto CimbingTowerLevelInfo = 2; //爬塔关卡信息(返回最新当前挑战完的关卡)
- repeated CardAbrasionInfo CardAbrasionInfoList = 3; //词牌磨损信息(只返回当前使用过的词牌)
- repeated int WeekUserItems = 4; //本周使用过的物品ids
- repeated ItemInfoProto BonusList = 5; //奖励
- repeated int32 EquipAIds = 6; //换装id列表1
- repeated int32 EquipBIds = 7; //换装id列表2
- repeated int32 EquipCIds = 8; //换装id列表3
- int32 MaxLevelId = 9; //历史最高挑战关卡id
- string YuLiu = 10;
- }
- //5.一键通过:---不用消耗磨损跟扣衣服
- //ResponseType S2C_CimbingTowerOneClickPass
- message C2S_CimbingTowerOneClickPass // IActorLocationRequest
- {
- int32 RpcId = 90;
- string YuLiu = 1;
- }
- message S2C_CimbingTowerOneClickPass // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ItemInfoProto BonusList = 1; //奖励
- repeated CimbingTowerLevelInfoProto CimbingTowerLevelInfoList = 2; //爬塔关卡信息list
- int32 MaxLevelId = 3; //历史最高挑战关卡id
- string YuLiu = 4;
- }
- //6.服务端推送最新标签--一般在周刷的时候,推送给在线的玩家
- message S2C_PushCimbingTowerInfo // IActorMessage
- {
- repeated string WeekTags = 1; //本周主题标签
- string YuLiu = 2;
- }
- //======================轮盘活动协议
- //玩家上线获取许愿活动的内容
- //ResponseType S2C_GetWishingActivityInfo
- message C2S_GetWishingActivityInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 AcitvityId = 1;
- }
- message S2C_GetWishingActivityInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- int32 ActivityId = 1;
- int32 SpecialRewardNum = 2; //特殊奖励下次必出特殊奖励次数
- int32 SpecialTotalNum = 3; //总共许愿次数
- repeated int32 RewardIds = 4; //奖励id list
- repeated int32 RewardStatus = 5; //奖励状态
- int32 ExtraIdDropId = 6; //最新特殊奖励的掉落id
- repeated int32 WishingBags = 7; //玩家在这个活动获得过的物品,只记录掉落出来的,不记录礼包打开获得的.
- }
- //许愿协议
- //ResponseType S2C_WishingLuckyBox
- message C2S_WishingLuckyBox // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 AcitvityId = 1;
- int32 WishingType = 2; //许愿类型: 1.许愿1次 2.许愿3次
- }
- message S2C_WishingLuckyBox // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- int32 AcitvityId = 1;
- int32 WishingType = 2; //许愿类型: 1.许愿1次 2.许愿3次
- int32 SpecialRewardNum = 3; //特殊奖励下次必出特殊奖励次数
- repeated int32 RewardIds = 4; //奖励id list
- repeated int32 RewardStatus = 5; //奖励状态
- int32 SpecialTotalNum = 6; //总共许愿次数
- repeated ItemInfoProto RewardList = 7; //普通物品奖励
- repeated ItemInfoProto SpecialRewardList = 8; //特殊奖励物品
- int32 ExtraIdDropId = 9; //最新特殊奖励的掉落id
- repeated int32 WishingBags = 10; //玩家在这个活动获得过的物品,只记录掉落出来的,不记录礼包打开获得的.
- }
- //领取奖励
- //ResponseType S2C_GetWishingRewards
- message C2S_GetWishingRewards // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 RewardId = 1; //奖励id
- }
- message S2C_GetWishingRewards // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- repeated ItemInfoProto RewardList = 1;
- repeated int32 RewardIds = 2; //奖励id list
- repeated int32 RewardStatus = 3; //奖励状态
- }
- //绑定手机号码
- //ResponseType S2C_BindMobilePhoneNumber
- message C2S_BindMobilePhoneNumber // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- string PhoneNumber = 1; //手机号码
- string VerCode = 2; //验证码
- }
- message S2C_BindMobilePhoneNumber // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- repeated ItemInfoProto RewardList = 1;
- string PhoneNumber = 2; //手机号码
- }
- //修改账户名以及密码
- //ResponseType S2C_UpAccountPassword
- message C2S_UpAccountPassword // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- string PhoneNumber = 1; //手机号码
- string VerCode = 2; //验证码
- string Account = 3;
- string Password = 4;
- }
- message S2C_UpAccountPassword // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- repeated ItemInfoProto RewardList = 1;
- }
- //通知服务端发送手机验证码
- //ResponseType S2C_GetMobileVerificationCodeUnit
- message C2S_GetMobileVerificationCodeUnit // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- string PhoneNumber = 1; //手机号码
- }
- message S2C_GetMobileVerificationCodeUnit // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- string PhoneNumber = 1; //手机号码
- }
- //合成小游戏协议=================================
- //获取合成小游戏信息
- //ResponseType S2C_GetMergeGameInfo
- message C2S_GetMergeGameInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 SubType = 1; //合成小游戏子类型
- }
-
- message S2C_GetMergeGameInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- int32 CurLevelId = 1; //当前处于的关卡id
- bool CurLevelStatus = 2; //当前关卡通过状态.正常都是未通过,只有全部都通过完了之后这里会是最后一关的通过状态
- repeated int32 PassLevelIds = 3; //已经通关的关卡id列表
- repeated int32 ShowLatticeList = 4; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
- repeated int32 ItemsKey = 5; //为new的材料ids, 用来处理合成路线new样式,等.
- repeated int32 ItemsVal = 6; //每个材料的状态。0未获得过 1新获得的new 2已获得过
- }
- //取消new样式
- //ResponseType S2C_MergeGameCancelNewStyle
- message C2S_MergeGameCancelNewStyle // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 SubType = 1; //合成小游戏子类型
- }
-
- message S2C_MergeGameCancelNewStyle // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- repeated int32 ItemsKey = 1; //为new的材料ids, 用来处理合成路线new样式,等.
- repeated int32 ItemsVal = 2; //每个材料的状态。0未获得过 1新获得的new 2已获得过
- }
- //关卡完成,也就是gou策说的任务完成
- //ResponseType S2C_MergeGameLevelPass
- message C2S_MergeGameLevelPass // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 SubType = 1; //合成小游戏子类型
- int32 LevelId = 2; //关卡id
- }
-
- message S2C_MergeGameLevelPass // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- int32 CurLevelId = 1; //当前处于的关卡id
- bool CurLevelStatus = 2; //当前关卡通过状态.正常都是未通过,只有全部都通过完了之后这里会是最后一关的通过状态
- repeated int32 PassLevelIds = 3; //已经通关的关卡id列表
- repeated int32 ShowLatticeList = 4; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
- repeated ItemInfoProto RewardList = 5; //奖励
- }
- //合成材料
- //ResponseType S2C_MergeGameMaterialSynthesis
- message C2S_MergeGameMaterialSynthesis // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 SubType = 1; //合成小游戏子类型
- int32 OldItemIdA = 2; //原材料1移动的材料
- int32 OldItemIdB = 3; //原材料2
- repeated int32 BeforeMovShowLatticeList = 4; //移动合成材料之前的展示区
- repeated int32 AfterMovShowLatticeList = 5; //移动合成材料之后的展示区
- }
- message S2C_MergeGameMaterialSynthesis // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- bool IsSynthesiSuccess = 1; //材料合成是否成功bool
- int32 NewItemId = 2; //获得的新材料
- repeated int32 ShowLatticeList = 3; //展示区, 索引代表格子位置, 无道具会用0填充,有道具即用材料id填充
- repeated ItemInfoProto RewardList = 4; //奖励
- repeated int32 ItemsKey = 5; //为new的材料ids, 用来处理合成路线new样式,等.
- repeated int32 ItemsVal = 6; //每个材料的状态。1新获得的new 2已获得过
- }
- //合成小游戏兑换获取材料
- //ResponseType S2C_MergeGameExchangeMaterial
- message C2S_MergeGameExchangeMaterial // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 ExchangeType = 1; //1.左边的豆包 2.右边的阿福
- int32 LevelId = 2; //游戏关卡id
- }
- message S2C_MergeGameExchangeMaterial // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- string ItemIdVPosition = 1; //通过兑换获得的(材料id-位置),这个的作用是让客户端好知道哪个位置新加了哪个材料,好做效果.
- repeated int32 ShowLatticeList = 2; //展示区,新增材料之后的展示区
- repeated int32 ItemsKey = 3; //为new的材料ids, 用来处理合成路线new样式,等.
- repeated int32 ItemsVal = 4; //每个材料的状态。 1新获得的new 2已获得过
- }
- //出售材料
- //ResponseType S2C_MergeGameSellingMaterials
- message C2S_MergeGameSellingMaterials // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 SubType = 1; //合成小游戏子类型
- int32 ResType = 2; //使用的资源组
- int32 Materialld = 3; //材料id MergeCfg.materialld
- int32 Position = 4; //售卖的位置
- }
- message S2C_MergeGameSellingMaterials // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- repeated int32 ShowLatticeList = 1; //展示区,新增材料之后的展示区
- repeated ItemInfoProto RewardList = 2; //奖励
- }
- //抽奖(盲盒)
- //ResponseType M2C_BlindBox
- message C2M_BlindBox // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- int32 BlindBoxId = 1; //盲盒抽奖id
- int32 Times = 2; //本次抽奖次数
- int32 ActivityId = 3; //活动id
- }
- message M2C_BlindBox // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- int32 BlindBoxId = 1; //盲盒抽奖id
- int32 Times = 2; //本次抽奖次数
- repeated ItemInfoProto bonusList = 3; //奖励列表
- int32 ActivityId = 4; //活动id
- }
- //创建支付宝订单
- //ResponseType S2C_CreateAliOrder
- message C2S_CreateAliOrder // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 OrderTempId = 1; //临时订单号
- int32 ShopId = 2; //商品id
- int64 Price = 3; //价格
- }
- message S2C_CreateAliOrder // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 BuyId = 1; //购买项在商店里的编号id
- //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
- string OrderId = 4; //订单号
- int64 Price = 5; //价格
- string AliOrderStr = 6; //支付宝的串
- }
- //登记玩家信息
- //ResponseType M2C_RegisterRoleInfo
- message C2M_RegisterRoleInfo // IActorLocationRequest
- {
- int32 RpcId = 90;
- string ReqOther = 91;
- string PhoneNumber = 1; //手机号
- string VerificationCode = 2; //验证码
- string Account = 3; //账号
- string Password = 4; //密码
- string ConfirmPassword = 5; //确认密码
- string IdCard = 6; //身份证号
- string CardName = 7; //真实姓名
- }
- message M2C_RegisterRoleInfo // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- string ResOther = 93;
- string PhoneNumber = 1; //手机号
- string Account = 2; //账号
- repeated ItemInfoProto RewardList = 3; //奖励
- }
- //创建微信订单
- //ResponseType S2C_CreateWeChatPayOrder
- message C2S_CreateWeChatPayOrder // IActorLocationRequest
- {
- int32 RpcId = 90;
- int64 OrderTempId = 1; //临时订单号
- int32 ShopId = 2; //商品id
- int64 Price = 3; //价格
- }
- message S2C_CreateWeChatPayOrder // IActorLocationResponse
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- int32 BuyId = 1; //购买项在商店里的编号id
- //以下只有RMB充值才会返回,客户端试用以下参数请求平台充值
- string OrderId = 2; //订单号
- int64 Price = 3; //价格
- string PrepayIdStr = 4; //微信返回的预付Id
- string NonceStr = 5;
- string Sign = 6;
- string Timestamp = 7;
- }
- //ResponseType A2C_LoginAccount
- message C2A_H5Login // IRequest
- {
- int32 RpcId = 90;
- string user_id = 1;
- string user_name = 2;
- string uuid = 3;
- string sign = 4;
- string timestamp = 5;
- string cp_ext = 6;
- string Version = 7;
- int32 PlatformId = 8;
- int32 ChannelId = 9;
- bool CancelDelete = 10;
- }
|