model.pb.go 172 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/main/usersuit/model/model.proto
  3. /*
  4. Package model is a generated protocol buffer package.
  5. It is generated from these files:
  6. app/service/main/usersuit/model/model.proto
  7. It has these top-level messages:
  8. ArgPendantHistory
  9. ArgOrderHistory
  10. PendantGroupInfo
  11. PendantGroup
  12. PendantPrice
  13. PendantHistory
  14. PendantOrderInfo
  15. PayInfo
  16. Pendant
  17. PendantPackage
  18. PendantEquip
  19. GroupPendantList
  20. MedalInfo
  21. MedalHomeInfo
  22. MedalUserInfo
  23. MedalPopup
  24. MedalMyInfo
  25. MedalMyInfos
  26. MedalAllInfos
  27. MedalCategoryInfo
  28. MedalItemInfo
  29. PointFlag
  30. */
  31. package model
  32. import proto "github.com/gogo/protobuf/proto"
  33. import fmt "fmt"
  34. import math "math"
  35. import _ "github.com/gogo/protobuf/gogoproto"
  36. import go_common_library_time "go-common/library/time"
  37. import binary "encoding/binary"
  38. import io "io"
  39. // Reference imports to suppress errors if they are not otherwise used.
  40. var _ = proto.Marshal
  41. var _ = fmt.Errorf
  42. var _ = math.Inf
  43. // This is a compile-time assertion to ensure that this generated file
  44. // is compatible with the proto package it is being compiled against.
  45. // A compilation error at this line likely means your copy of the
  46. // proto package needs to be updated.
  47. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  48. type ArgPendantHistory struct {
  49. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  50. SourceType int32 `protobuf:"varint,2,opt,name=source_type,json=sourceType,proto3" json:"sourceType"`
  51. StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"startTime"`
  52. EndTime int64 `protobuf:"varint,4,opt,name=end_time,json=endTime,proto3" json:"endTime"`
  53. Page int64 `protobuf:"varint,5,opt,name=page,proto3" json:"page"`
  54. }
  55. func (m *ArgPendantHistory) Reset() { *m = ArgPendantHistory{} }
  56. func (m *ArgPendantHistory) String() string { return proto.CompactTextString(m) }
  57. func (*ArgPendantHistory) ProtoMessage() {}
  58. func (*ArgPendantHistory) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{0} }
  59. func (m *ArgPendantHistory) GetMid() int64 {
  60. if m != nil {
  61. return m.Mid
  62. }
  63. return 0
  64. }
  65. func (m *ArgPendantHistory) GetSourceType() int32 {
  66. if m != nil {
  67. return m.SourceType
  68. }
  69. return 0
  70. }
  71. func (m *ArgPendantHistory) GetStartTime() int64 {
  72. if m != nil {
  73. return m.StartTime
  74. }
  75. return 0
  76. }
  77. func (m *ArgPendantHistory) GetEndTime() int64 {
  78. if m != nil {
  79. return m.EndTime
  80. }
  81. return 0
  82. }
  83. func (m *ArgPendantHistory) GetPage() int64 {
  84. if m != nil {
  85. return m.Page
  86. }
  87. return 0
  88. }
  89. type ArgOrderHistory struct {
  90. OrderID string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"oderID"`
  91. PayID string `protobuf:"bytes,2,opt,name=pay_id,json=payId,proto3" json:"payID"`
  92. Mid int64 `protobuf:"varint,3,opt,name=mid,proto3" json:"mid"`
  93. Pid int64 `protobuf:"varint,4,opt,name=pid,proto3" json:"pid"`
  94. Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status"`
  95. PayType int32 `protobuf:"varint,6,opt,name=pay_type,json=payType,proto3" json:"payType"`
  96. StartTime int64 `protobuf:"varint,7,opt,name=start_time,json=startTime,proto3" json:"startTime"`
  97. EndTime int64 `protobuf:"varint,8,opt,name=end_time,json=endTime,proto3" json:"endTime"`
  98. Page int64 `protobuf:"varint,9,opt,name=page,proto3" json:"page"`
  99. }
  100. func (m *ArgOrderHistory) Reset() { *m = ArgOrderHistory{} }
  101. func (m *ArgOrderHistory) String() string { return proto.CompactTextString(m) }
  102. func (*ArgOrderHistory) ProtoMessage() {}
  103. func (*ArgOrderHistory) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{1} }
  104. func (m *ArgOrderHistory) GetOrderID() string {
  105. if m != nil {
  106. return m.OrderID
  107. }
  108. return ""
  109. }
  110. func (m *ArgOrderHistory) GetPayID() string {
  111. if m != nil {
  112. return m.PayID
  113. }
  114. return ""
  115. }
  116. func (m *ArgOrderHistory) GetMid() int64 {
  117. if m != nil {
  118. return m.Mid
  119. }
  120. return 0
  121. }
  122. func (m *ArgOrderHistory) GetPid() int64 {
  123. if m != nil {
  124. return m.Pid
  125. }
  126. return 0
  127. }
  128. func (m *ArgOrderHistory) GetStatus() int32 {
  129. if m != nil {
  130. return m.Status
  131. }
  132. return 0
  133. }
  134. func (m *ArgOrderHistory) GetPayType() int32 {
  135. if m != nil {
  136. return m.PayType
  137. }
  138. return 0
  139. }
  140. func (m *ArgOrderHistory) GetStartTime() int64 {
  141. if m != nil {
  142. return m.StartTime
  143. }
  144. return 0
  145. }
  146. func (m *ArgOrderHistory) GetEndTime() int64 {
  147. if m != nil {
  148. return m.EndTime
  149. }
  150. return 0
  151. }
  152. func (m *ArgOrderHistory) GetPage() int64 {
  153. if m != nil {
  154. return m.Page
  155. }
  156. return 0
  157. }
  158. type PendantGroupInfo struct {
  159. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  160. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"group_name"`
  161. Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank"`
  162. Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"`
  163. Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image"`
  164. ImageModel string `protobuf:"bytes,6,opt,name=image_model,json=imageModel,proto3" json:"image_model"`
  165. FrequencyLimit int32 `protobuf:"varint,7,opt,name=frequency_limit,json=frequencyLimit,proto3" json:"-"`
  166. TimeLimit int32 `protobuf:"varint,8,opt,name=time_limit,json=timeLimit,proto3" json:"-"`
  167. Number int64 `protobuf:"varint,9,opt,name=number,proto3" json:"group_count"`
  168. SubPendant []*Pendant `protobuf:"bytes,10,rep,name=sub_pendant,json=subPendant" json:"pendant_info"`
  169. }
  170. func (m *PendantGroupInfo) Reset() { *m = PendantGroupInfo{} }
  171. func (m *PendantGroupInfo) String() string { return proto.CompactTextString(m) }
  172. func (*PendantGroupInfo) ProtoMessage() {}
  173. func (*PendantGroupInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{2} }
  174. func (m *PendantGroupInfo) GetID() int64 {
  175. if m != nil {
  176. return m.ID
  177. }
  178. return 0
  179. }
  180. func (m *PendantGroupInfo) GetName() string {
  181. if m != nil {
  182. return m.Name
  183. }
  184. return ""
  185. }
  186. func (m *PendantGroupInfo) GetRank() int32 {
  187. if m != nil {
  188. return m.Rank
  189. }
  190. return 0
  191. }
  192. func (m *PendantGroupInfo) GetStatus() int32 {
  193. if m != nil {
  194. return m.Status
  195. }
  196. return 0
  197. }
  198. func (m *PendantGroupInfo) GetImage() string {
  199. if m != nil {
  200. return m.Image
  201. }
  202. return ""
  203. }
  204. func (m *PendantGroupInfo) GetImageModel() string {
  205. if m != nil {
  206. return m.ImageModel
  207. }
  208. return ""
  209. }
  210. func (m *PendantGroupInfo) GetFrequencyLimit() int32 {
  211. if m != nil {
  212. return m.FrequencyLimit
  213. }
  214. return 0
  215. }
  216. func (m *PendantGroupInfo) GetTimeLimit() int32 {
  217. if m != nil {
  218. return m.TimeLimit
  219. }
  220. return 0
  221. }
  222. func (m *PendantGroupInfo) GetNumber() int64 {
  223. if m != nil {
  224. return m.Number
  225. }
  226. return 0
  227. }
  228. func (m *PendantGroupInfo) GetSubPendant() []*Pendant {
  229. if m != nil {
  230. return m.SubPendant
  231. }
  232. return nil
  233. }
  234. type PendantGroup struct {
  235. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  236. Gid int64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid"`
  237. Pid int64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid"`
  238. }
  239. func (m *PendantGroup) Reset() { *m = PendantGroup{} }
  240. func (m *PendantGroup) String() string { return proto.CompactTextString(m) }
  241. func (*PendantGroup) ProtoMessage() {}
  242. func (*PendantGroup) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{3} }
  243. func (m *PendantGroup) GetID() int64 {
  244. if m != nil {
  245. return m.ID
  246. }
  247. return 0
  248. }
  249. func (m *PendantGroup) GetGid() int64 {
  250. if m != nil {
  251. return m.Gid
  252. }
  253. return 0
  254. }
  255. func (m *PendantGroup) GetPid() int64 {
  256. if m != nil {
  257. return m.Pid
  258. }
  259. return 0
  260. }
  261. type PendantPrice struct {
  262. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  263. Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"`
  264. Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
  265. Price int64 `protobuf:"varint,4,opt,name=price,proto3" json:"price"`
  266. }
  267. func (m *PendantPrice) Reset() { *m = PendantPrice{} }
  268. func (m *PendantPrice) String() string { return proto.CompactTextString(m) }
  269. func (*PendantPrice) ProtoMessage() {}
  270. func (*PendantPrice) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{4} }
  271. func (m *PendantPrice) GetID() int64 {
  272. if m != nil {
  273. return m.ID
  274. }
  275. return 0
  276. }
  277. func (m *PendantPrice) GetPid() int64 {
  278. if m != nil {
  279. return m.Pid
  280. }
  281. return 0
  282. }
  283. func (m *PendantPrice) GetType() int64 {
  284. if m != nil {
  285. return m.Type
  286. }
  287. return 0
  288. }
  289. func (m *PendantPrice) GetPrice() int64 {
  290. if m != nil {
  291. return m.Price
  292. }
  293. return 0
  294. }
  295. type PendantHistory struct {
  296. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  297. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"`
  298. Pid int64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid"`
  299. SourceType int32 `protobuf:"varint,4,opt,name=source_type,json=sourceType,proto3" json:"source_type"`
  300. Expire int64 `protobuf:"varint,5,opt,name=expire,proto3" json:"expire"`
  301. OperatorName string `protobuf:"bytes,6,opt,name=operator_name,json=operatorName,proto3" json:"opeartor_name"`
  302. OperatorAction int32 `protobuf:"varint,7,opt,name=operator_action,json=operatorAction,proto3" json:"opeartor_action"`
  303. }
  304. func (m *PendantHistory) Reset() { *m = PendantHistory{} }
  305. func (m *PendantHistory) String() string { return proto.CompactTextString(m) }
  306. func (*PendantHistory) ProtoMessage() {}
  307. func (*PendantHistory) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{5} }
  308. func (m *PendantHistory) GetID() int64 {
  309. if m != nil {
  310. return m.ID
  311. }
  312. return 0
  313. }
  314. func (m *PendantHistory) GetMid() int64 {
  315. if m != nil {
  316. return m.Mid
  317. }
  318. return 0
  319. }
  320. func (m *PendantHistory) GetPid() int64 {
  321. if m != nil {
  322. return m.Pid
  323. }
  324. return 0
  325. }
  326. func (m *PendantHistory) GetSourceType() int32 {
  327. if m != nil {
  328. return m.SourceType
  329. }
  330. return 0
  331. }
  332. func (m *PendantHistory) GetExpire() int64 {
  333. if m != nil {
  334. return m.Expire
  335. }
  336. return 0
  337. }
  338. func (m *PendantHistory) GetOperatorName() string {
  339. if m != nil {
  340. return m.OperatorName
  341. }
  342. return ""
  343. }
  344. func (m *PendantHistory) GetOperatorAction() int32 {
  345. if m != nil {
  346. return m.OperatorAction
  347. }
  348. return 0
  349. }
  350. type PendantOrderInfo struct {
  351. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"_"`
  352. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"`
  353. OrderID string `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id"`
  354. PayID string `protobuf:"bytes,4,opt,name=pay_id,json=payId,proto3" json:"pay_id"`
  355. PayType int64 `protobuf:"varint,5,opt,name=pay_type,json=payType,proto3" json:"pay_type"`
  356. PayPrice float64 `protobuf:"fixed64,6,opt,name=pay_price,json=payPrice,proto3" json:"pay_price"`
  357. AppID int64 `protobuf:"varint,7,opt,name=app_id,json=appId,proto3" json:"app_id"`
  358. Stauts int32 `protobuf:"varint,8,opt,name=stauts,proto3" json:"status"`
  359. Pid int64 `protobuf:"varint,9,opt,name=pid,proto3" json:"pid"`
  360. TimeLength int64 `protobuf:"varint,10,opt,name=time_length,json=timeLength,proto3" json:"time_length"`
  361. Cost string `protobuf:"bytes,11,opt,name=cost,proto3" json:"cost"`
  362. BuyTime int64 `protobuf:"varint,12,opt,name=buy_time,json=buyTime,proto3" json:"buy_time"`
  363. IsCallback int32 `protobuf:"varint,13,opt,name=is_callback,json=isCallback,proto3" json:"is_callback"`
  364. CallbackTime int64 `protobuf:"varint,14,opt,name=callback_time,json=callbackTime,proto3" json:"callback_time"`
  365. Image string `protobuf:"bytes,15,opt,name=image,proto3" json:"image"`
  366. Name string `protobuf:"bytes,16,opt,name=name,proto3" json:"name"`
  367. }
  368. func (m *PendantOrderInfo) Reset() { *m = PendantOrderInfo{} }
  369. func (m *PendantOrderInfo) String() string { return proto.CompactTextString(m) }
  370. func (*PendantOrderInfo) ProtoMessage() {}
  371. func (*PendantOrderInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{6} }
  372. func (m *PendantOrderInfo) GetID() int64 {
  373. if m != nil {
  374. return m.ID
  375. }
  376. return 0
  377. }
  378. func (m *PendantOrderInfo) GetMid() int64 {
  379. if m != nil {
  380. return m.Mid
  381. }
  382. return 0
  383. }
  384. func (m *PendantOrderInfo) GetOrderID() string {
  385. if m != nil {
  386. return m.OrderID
  387. }
  388. return ""
  389. }
  390. func (m *PendantOrderInfo) GetPayID() string {
  391. if m != nil {
  392. return m.PayID
  393. }
  394. return ""
  395. }
  396. func (m *PendantOrderInfo) GetPayType() int64 {
  397. if m != nil {
  398. return m.PayType
  399. }
  400. return 0
  401. }
  402. func (m *PendantOrderInfo) GetPayPrice() float64 {
  403. if m != nil {
  404. return m.PayPrice
  405. }
  406. return 0
  407. }
  408. func (m *PendantOrderInfo) GetAppID() int64 {
  409. if m != nil {
  410. return m.AppID
  411. }
  412. return 0
  413. }
  414. func (m *PendantOrderInfo) GetStauts() int32 {
  415. if m != nil {
  416. return m.Stauts
  417. }
  418. return 0
  419. }
  420. func (m *PendantOrderInfo) GetPid() int64 {
  421. if m != nil {
  422. return m.Pid
  423. }
  424. return 0
  425. }
  426. func (m *PendantOrderInfo) GetTimeLength() int64 {
  427. if m != nil {
  428. return m.TimeLength
  429. }
  430. return 0
  431. }
  432. func (m *PendantOrderInfo) GetCost() string {
  433. if m != nil {
  434. return m.Cost
  435. }
  436. return ""
  437. }
  438. func (m *PendantOrderInfo) GetBuyTime() int64 {
  439. if m != nil {
  440. return m.BuyTime
  441. }
  442. return 0
  443. }
  444. func (m *PendantOrderInfo) GetIsCallback() int32 {
  445. if m != nil {
  446. return m.IsCallback
  447. }
  448. return 0
  449. }
  450. func (m *PendantOrderInfo) GetCallbackTime() int64 {
  451. if m != nil {
  452. return m.CallbackTime
  453. }
  454. return 0
  455. }
  456. func (m *PendantOrderInfo) GetImage() string {
  457. if m != nil {
  458. return m.Image
  459. }
  460. return ""
  461. }
  462. func (m *PendantOrderInfo) GetName() string {
  463. if m != nil {
  464. return m.Name
  465. }
  466. return ""
  467. }
  468. type PayInfo struct {
  469. OrderID string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id"`
  470. OrderNum string `protobuf:"bytes,2,opt,name=order_num,json=orderNum,proto3" json:"order_no"`
  471. PayURL string `protobuf:"bytes,3,opt,name=pay_url,json=payUrl,proto3" json:"pay_url"`
  472. }
  473. func (m *PayInfo) Reset() { *m = PayInfo{} }
  474. func (m *PayInfo) String() string { return proto.CompactTextString(m) }
  475. func (*PayInfo) ProtoMessage() {}
  476. func (*PayInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{7} }
  477. func (m *PayInfo) GetOrderID() string {
  478. if m != nil {
  479. return m.OrderID
  480. }
  481. return ""
  482. }
  483. func (m *PayInfo) GetOrderNum() string {
  484. if m != nil {
  485. return m.OrderNum
  486. }
  487. return ""
  488. }
  489. func (m *PayInfo) GetPayURL() string {
  490. if m != nil {
  491. return m.PayURL
  492. }
  493. return ""
  494. }
  495. type Pendant struct {
  496. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"pid"`
  497. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  498. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image"`
  499. ImageModel string `protobuf:"bytes,4,opt,name=image_model,json=imageModel,proto3" json:"image_model"`
  500. Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status"`
  501. Coin int64 `protobuf:"varint,6,opt,name=coin,proto3" json:"coin"`
  502. Point int64 `protobuf:"varint,7,opt,name=point,proto3" json:"point"`
  503. BCoin int64 `protobuf:"varint,8,opt,name=bcoin,proto3" json:"bcoin"`
  504. Expires int64 `protobuf:"varint,9,opt,name=expires,proto3" json:"expire"`
  505. Gid int64 `protobuf:"varint,10,opt,name=gid,proto3" json:"gid"`
  506. Rank int32 `protobuf:"varint,11,opt,name=rank,proto3" json:"rank"`
  507. }
  508. func (m *Pendant) Reset() { *m = Pendant{} }
  509. func (m *Pendant) String() string { return proto.CompactTextString(m) }
  510. func (*Pendant) ProtoMessage() {}
  511. func (*Pendant) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{8} }
  512. func (m *Pendant) GetID() int64 {
  513. if m != nil {
  514. return m.ID
  515. }
  516. return 0
  517. }
  518. func (m *Pendant) GetName() string {
  519. if m != nil {
  520. return m.Name
  521. }
  522. return ""
  523. }
  524. func (m *Pendant) GetImage() string {
  525. if m != nil {
  526. return m.Image
  527. }
  528. return ""
  529. }
  530. func (m *Pendant) GetImageModel() string {
  531. if m != nil {
  532. return m.ImageModel
  533. }
  534. return ""
  535. }
  536. func (m *Pendant) GetStatus() int32 {
  537. if m != nil {
  538. return m.Status
  539. }
  540. return 0
  541. }
  542. func (m *Pendant) GetCoin() int64 {
  543. if m != nil {
  544. return m.Coin
  545. }
  546. return 0
  547. }
  548. func (m *Pendant) GetPoint() int64 {
  549. if m != nil {
  550. return m.Point
  551. }
  552. return 0
  553. }
  554. func (m *Pendant) GetBCoin() int64 {
  555. if m != nil {
  556. return m.BCoin
  557. }
  558. return 0
  559. }
  560. func (m *Pendant) GetExpires() int64 {
  561. if m != nil {
  562. return m.Expires
  563. }
  564. return 0
  565. }
  566. func (m *Pendant) GetGid() int64 {
  567. if m != nil {
  568. return m.Gid
  569. }
  570. return 0
  571. }
  572. func (m *Pendant) GetRank() int32 {
  573. if m != nil {
  574. return m.Rank
  575. }
  576. return 0
  577. }
  578. type PendantPackage struct {
  579. ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  580. Mid int64 `protobuf:"varint,2,opt,name=mid,proto3" json:"mid"`
  581. Pid int64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid"`
  582. Expires int64 `protobuf:"varint,4,opt,name=expires,proto3" json:"expire"`
  583. Type int64 `protobuf:"varint,5,opt,name=type,proto3" json:"type"`
  584. Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status"`
  585. IsVIP int32 `protobuf:"varint,7,opt,name=is_vip,json=isVip,proto3" json:"isVIP"`
  586. Pendant *Pendant `protobuf:"bytes,8,opt,name=pendant" json:"pendant"`
  587. }
  588. func (m *PendantPackage) Reset() { *m = PendantPackage{} }
  589. func (m *PendantPackage) String() string { return proto.CompactTextString(m) }
  590. func (*PendantPackage) ProtoMessage() {}
  591. func (*PendantPackage) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{9} }
  592. func (m *PendantPackage) GetID() int64 {
  593. if m != nil {
  594. return m.ID
  595. }
  596. return 0
  597. }
  598. func (m *PendantPackage) GetMid() int64 {
  599. if m != nil {
  600. return m.Mid
  601. }
  602. return 0
  603. }
  604. func (m *PendantPackage) GetPid() int64 {
  605. if m != nil {
  606. return m.Pid
  607. }
  608. return 0
  609. }
  610. func (m *PendantPackage) GetExpires() int64 {
  611. if m != nil {
  612. return m.Expires
  613. }
  614. return 0
  615. }
  616. func (m *PendantPackage) GetType() int64 {
  617. if m != nil {
  618. return m.Type
  619. }
  620. return 0
  621. }
  622. func (m *PendantPackage) GetStatus() int32 {
  623. if m != nil {
  624. return m.Status
  625. }
  626. return 0
  627. }
  628. func (m *PendantPackage) GetIsVIP() int32 {
  629. if m != nil {
  630. return m.IsVIP
  631. }
  632. return 0
  633. }
  634. func (m *PendantPackage) GetPendant() *Pendant {
  635. if m != nil {
  636. return m.Pendant
  637. }
  638. return nil
  639. }
  640. type PendantEquip struct {
  641. Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"`
  642. Pid int64 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"`
  643. Expires int64 `protobuf:"varint,3,opt,name=expires,proto3" json:"expire"`
  644. Pendant *Pendant `protobuf:"bytes,4,opt,name=pendant" json:"pendant"`
  645. }
  646. func (m *PendantEquip) Reset() { *m = PendantEquip{} }
  647. func (m *PendantEquip) String() string { return proto.CompactTextString(m) }
  648. func (*PendantEquip) ProtoMessage() {}
  649. func (*PendantEquip) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{10} }
  650. func (m *PendantEquip) GetMid() int64 {
  651. if m != nil {
  652. return m.Mid
  653. }
  654. return 0
  655. }
  656. func (m *PendantEquip) GetPid() int64 {
  657. if m != nil {
  658. return m.Pid
  659. }
  660. return 0
  661. }
  662. func (m *PendantEquip) GetExpires() int64 {
  663. if m != nil {
  664. return m.Expires
  665. }
  666. return 0
  667. }
  668. func (m *PendantEquip) GetPendant() *Pendant {
  669. if m != nil {
  670. return m.Pendant
  671. }
  672. return nil
  673. }
  674. type GroupPendantList struct {
  675. PkgExpires int64 `protobuf:"varint,1,opt,name=pkgExpires,proto3" json:"pkg_expires"`
  676. PkgStatus int32 `protobuf:"varint,2,opt,name=pkgStatus,proto3" json:"pkg_status"`
  677. *Pendant `protobuf:"bytes,3,opt,name=pendant,embedded=pendant" json:""`
  678. }
  679. func (m *GroupPendantList) Reset() { *m = GroupPendantList{} }
  680. func (m *GroupPendantList) String() string { return proto.CompactTextString(m) }
  681. func (*GroupPendantList) ProtoMessage() {}
  682. func (*GroupPendantList) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{11} }
  683. func (m *GroupPendantList) GetPkgExpires() int64 {
  684. if m != nil {
  685. return m.PkgExpires
  686. }
  687. return 0
  688. }
  689. func (m *GroupPendantList) GetPkgStatus() int32 {
  690. if m != nil {
  691. return m.PkgStatus
  692. }
  693. return 0
  694. }
  695. type MedalInfo struct {
  696. ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"nid"`
  697. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
  698. Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"description"`
  699. Image string `protobuf:"bytes,4,opt,name=Image,proto3" json:"image"`
  700. ImageSmall string `protobuf:"bytes,5,opt,name=ImageSmall,proto3" json:"image_small"`
  701. Condition string `protobuf:"bytes,6,opt,name=Condition,proto3" json:"condition"`
  702. GID int64 `protobuf:"varint,7,opt,name=GID,proto3" json:"gid"`
  703. Level int32 `protobuf:"varint,8,opt,name=Level,proto3" json:"level,omitempty"`
  704. LevelRank string `protobuf:"bytes,9,opt,name=LevelRank,proto3" json:"level_rank,omitempty"`
  705. LevelDesc string `protobuf:"bytes,10,opt,name=LevelDesc,proto3" json:"level_desc,omitempty"`
  706. Sort int32 `protobuf:"varint,11,opt,name=Sort,proto3" json:"sort,omitempty"`
  707. IsOnline int32 `protobuf:"varint,12,opt,name=IsOnline,proto3" json:"is_online,omitempty"`
  708. IsGet int32 `protobuf:"varint,13,opt,name=IsGet,proto3" json:"is_get,omitempty"`
  709. Ctime go_common_library_time.Time `protobuf:"varint,14,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime,omitempty"`
  710. Mtime go_common_library_time.Time `protobuf:"varint,15,opt,name=Mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"`
  711. }
  712. func (m *MedalInfo) Reset() { *m = MedalInfo{} }
  713. func (m *MedalInfo) String() string { return proto.CompactTextString(m) }
  714. func (*MedalInfo) ProtoMessage() {}
  715. func (*MedalInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{12} }
  716. func (m *MedalInfo) GetID() int64 {
  717. if m != nil {
  718. return m.ID
  719. }
  720. return 0
  721. }
  722. func (m *MedalInfo) GetName() string {
  723. if m != nil {
  724. return m.Name
  725. }
  726. return ""
  727. }
  728. func (m *MedalInfo) GetDescription() string {
  729. if m != nil {
  730. return m.Description
  731. }
  732. return ""
  733. }
  734. func (m *MedalInfo) GetImage() string {
  735. if m != nil {
  736. return m.Image
  737. }
  738. return ""
  739. }
  740. func (m *MedalInfo) GetImageSmall() string {
  741. if m != nil {
  742. return m.ImageSmall
  743. }
  744. return ""
  745. }
  746. func (m *MedalInfo) GetCondition() string {
  747. if m != nil {
  748. return m.Condition
  749. }
  750. return ""
  751. }
  752. func (m *MedalInfo) GetGID() int64 {
  753. if m != nil {
  754. return m.GID
  755. }
  756. return 0
  757. }
  758. func (m *MedalInfo) GetLevel() int32 {
  759. if m != nil {
  760. return m.Level
  761. }
  762. return 0
  763. }
  764. func (m *MedalInfo) GetLevelRank() string {
  765. if m != nil {
  766. return m.LevelRank
  767. }
  768. return ""
  769. }
  770. func (m *MedalInfo) GetLevelDesc() string {
  771. if m != nil {
  772. return m.LevelDesc
  773. }
  774. return ""
  775. }
  776. func (m *MedalInfo) GetSort() int32 {
  777. if m != nil {
  778. return m.Sort
  779. }
  780. return 0
  781. }
  782. func (m *MedalInfo) GetIsOnline() int32 {
  783. if m != nil {
  784. return m.IsOnline
  785. }
  786. return 0
  787. }
  788. func (m *MedalInfo) GetIsGet() int32 {
  789. if m != nil {
  790. return m.IsGet
  791. }
  792. return 0
  793. }
  794. func (m *MedalInfo) GetCtime() go_common_library_time.Time {
  795. if m != nil {
  796. return m.Ctime
  797. }
  798. return 0
  799. }
  800. func (m *MedalInfo) GetMtime() go_common_library_time.Time {
  801. if m != nil {
  802. return m.Mtime
  803. }
  804. return 0
  805. }
  806. type MedalHomeInfo struct {
  807. Description string `protobuf:"bytes,1,opt,name=Description,proto3" json:"description"`
  808. Image string `protobuf:"bytes,2,opt,name=Image,proto3" json:"image"`
  809. ImageSmall string `protobuf:"bytes,3,opt,name=ImageSmall,proto3" json:"image_small"`
  810. IsActivated int32 `protobuf:"varint,4,opt,name=IsActivated,proto3" json:"is_activated"`
  811. Level string `protobuf:"bytes,5,opt,name=Level,proto3" json:"level"`
  812. Name string `protobuf:"bytes,6,opt,name=Name,proto3" json:"name"`
  813. NID int64 `protobuf:"varint,7,opt,name=NID,proto3" json:"nid"`
  814. }
  815. func (m *MedalHomeInfo) Reset() { *m = MedalHomeInfo{} }
  816. func (m *MedalHomeInfo) String() string { return proto.CompactTextString(m) }
  817. func (*MedalHomeInfo) ProtoMessage() {}
  818. func (*MedalHomeInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{13} }
  819. func (m *MedalHomeInfo) GetDescription() string {
  820. if m != nil {
  821. return m.Description
  822. }
  823. return ""
  824. }
  825. func (m *MedalHomeInfo) GetImage() string {
  826. if m != nil {
  827. return m.Image
  828. }
  829. return ""
  830. }
  831. func (m *MedalHomeInfo) GetImageSmall() string {
  832. if m != nil {
  833. return m.ImageSmall
  834. }
  835. return ""
  836. }
  837. func (m *MedalHomeInfo) GetIsActivated() int32 {
  838. if m != nil {
  839. return m.IsActivated
  840. }
  841. return 0
  842. }
  843. func (m *MedalHomeInfo) GetLevel() string {
  844. if m != nil {
  845. return m.Level
  846. }
  847. return ""
  848. }
  849. func (m *MedalHomeInfo) GetName() string {
  850. if m != nil {
  851. return m.Name
  852. }
  853. return ""
  854. }
  855. func (m *MedalHomeInfo) GetNID() int64 {
  856. if m != nil {
  857. return m.NID
  858. }
  859. return 0
  860. }
  861. type MedalUserInfo struct {
  862. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"name"`
  863. Face string `protobuf:"bytes,2,opt,name=Face,proto3" json:"face"`
  864. Level int32 `protobuf:"varint,3,opt,name=Level,proto3" json:"level"`
  865. TrueLove bool `protobuf:"varint,4,opt,name=TrueLove,proto3" json:"truelove"`
  866. NID int64 `protobuf:"varint,5,opt,name=NID,proto3" json:"nid"`
  867. ImageSmall string `protobuf:"bytes,6,opt,name=ImageSmall,proto3" json:"image_small"`
  868. }
  869. func (m *MedalUserInfo) Reset() { *m = MedalUserInfo{} }
  870. func (m *MedalUserInfo) String() string { return proto.CompactTextString(m) }
  871. func (*MedalUserInfo) ProtoMessage() {}
  872. func (*MedalUserInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{14} }
  873. func (m *MedalUserInfo) GetName() string {
  874. if m != nil {
  875. return m.Name
  876. }
  877. return ""
  878. }
  879. func (m *MedalUserInfo) GetFace() string {
  880. if m != nil {
  881. return m.Face
  882. }
  883. return ""
  884. }
  885. func (m *MedalUserInfo) GetLevel() int32 {
  886. if m != nil {
  887. return m.Level
  888. }
  889. return 0
  890. }
  891. func (m *MedalUserInfo) GetTrueLove() bool {
  892. if m != nil {
  893. return m.TrueLove
  894. }
  895. return false
  896. }
  897. func (m *MedalUserInfo) GetNID() int64 {
  898. if m != nil {
  899. return m.NID
  900. }
  901. return 0
  902. }
  903. func (m *MedalUserInfo) GetImageSmall() string {
  904. if m != nil {
  905. return m.ImageSmall
  906. }
  907. return ""
  908. }
  909. type MedalPopup struct {
  910. NID int64 `protobuf:"varint,1,opt,name=NID,proto3" json:"nid"`
  911. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
  912. Image string `protobuf:"bytes,3,opt,name=Image,proto3" json:"image"`
  913. }
  914. func (m *MedalPopup) Reset() { *m = MedalPopup{} }
  915. func (m *MedalPopup) String() string { return proto.CompactTextString(m) }
  916. func (*MedalPopup) ProtoMessage() {}
  917. func (*MedalPopup) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{15} }
  918. func (m *MedalPopup) GetNID() int64 {
  919. if m != nil {
  920. return m.NID
  921. }
  922. return 0
  923. }
  924. func (m *MedalPopup) GetName() string {
  925. if m != nil {
  926. return m.Name
  927. }
  928. return ""
  929. }
  930. func (m *MedalPopup) GetImage() string {
  931. if m != nil {
  932. return m.Image
  933. }
  934. return ""
  935. }
  936. type MedalMyInfo struct {
  937. *MedalInfo `protobuf:"bytes,1,opt,name=MedalInfo,embedded=MedalInfo" json:""`
  938. IsActivated int32 `protobuf:"varint,2,opt,name=IsActivated,proto3" json:"is_activated"`
  939. IsNewGet int32 `protobuf:"varint,3,opt,name=IsNewGet,proto3" json:"is_new_get"`
  940. GetTime go_common_library_time.Time `protobuf:"varint,4,opt,name=GetTime,proto3,casttype=go-common/library/time.Time" json:"get_time,omitempty"`
  941. }
  942. func (m *MedalMyInfo) Reset() { *m = MedalMyInfo{} }
  943. func (m *MedalMyInfo) String() string { return proto.CompactTextString(m) }
  944. func (*MedalMyInfo) ProtoMessage() {}
  945. func (*MedalMyInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{16} }
  946. func (m *MedalMyInfo) GetIsActivated() int32 {
  947. if m != nil {
  948. return m.IsActivated
  949. }
  950. return 0
  951. }
  952. func (m *MedalMyInfo) GetIsNewGet() int32 {
  953. if m != nil {
  954. return m.IsNewGet
  955. }
  956. return 0
  957. }
  958. func (m *MedalMyInfo) GetGetTime() go_common_library_time.Time {
  959. if m != nil {
  960. return m.GetTime
  961. }
  962. return 0
  963. }
  964. type MedalMyInfos struct {
  965. Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"count"`
  966. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
  967. List []*MedalMyInfo `protobuf:"bytes,3,rep,name=List" json:"list"`
  968. }
  969. func (m *MedalMyInfos) Reset() { *m = MedalMyInfos{} }
  970. func (m *MedalMyInfos) String() string { return proto.CompactTextString(m) }
  971. func (*MedalMyInfos) ProtoMessage() {}
  972. func (*MedalMyInfos) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{17} }
  973. func (m *MedalMyInfos) GetCount() int32 {
  974. if m != nil {
  975. return m.Count
  976. }
  977. return 0
  978. }
  979. func (m *MedalMyInfos) GetName() string {
  980. if m != nil {
  981. return m.Name
  982. }
  983. return ""
  984. }
  985. func (m *MedalMyInfos) GetList() []*MedalMyInfo {
  986. if m != nil {
  987. return m.List
  988. }
  989. return nil
  990. }
  991. type MedalAllInfos struct {
  992. HasActivated int64 `protobuf:"varint,1,opt,name=HasActivated,proto3" json:"has_activated"`
  993. RedPoint bool `protobuf:"varint,2,opt,name=RedPoint,proto3" json:"is_show_red_point"`
  994. HasGet []int64 `protobuf:"varint,3,rep,packed,name=HasGet" json:"has_get"`
  995. List map[int64]*MedalCategoryInfo `protobuf:"bytes,4,rep,name=List" json:"list" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"`
  996. }
  997. func (m *MedalAllInfos) Reset() { *m = MedalAllInfos{} }
  998. func (m *MedalAllInfos) String() string { return proto.CompactTextString(m) }
  999. func (*MedalAllInfos) ProtoMessage() {}
  1000. func (*MedalAllInfos) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{18} }
  1001. func (m *MedalAllInfos) GetHasActivated() int64 {
  1002. if m != nil {
  1003. return m.HasActivated
  1004. }
  1005. return 0
  1006. }
  1007. func (m *MedalAllInfos) GetRedPoint() bool {
  1008. if m != nil {
  1009. return m.RedPoint
  1010. }
  1011. return false
  1012. }
  1013. func (m *MedalAllInfos) GetHasGet() []int64 {
  1014. if m != nil {
  1015. return m.HasGet
  1016. }
  1017. return nil
  1018. }
  1019. func (m *MedalAllInfos) GetList() map[int64]*MedalCategoryInfo {
  1020. if m != nil {
  1021. return m.List
  1022. }
  1023. return nil
  1024. }
  1025. type MedalCategoryInfo struct {
  1026. Count int32 `protobuf:"varint,1,opt,name=Count,proto3" json:"count"`
  1027. Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
  1028. Data []*MedalItemInfo `protobuf:"bytes,3,rep,name=Data" json:"data"`
  1029. }
  1030. func (m *MedalCategoryInfo) Reset() { *m = MedalCategoryInfo{} }
  1031. func (m *MedalCategoryInfo) String() string { return proto.CompactTextString(m) }
  1032. func (*MedalCategoryInfo) ProtoMessage() {}
  1033. func (*MedalCategoryInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{19} }
  1034. func (m *MedalCategoryInfo) GetCount() int32 {
  1035. if m != nil {
  1036. return m.Count
  1037. }
  1038. return 0
  1039. }
  1040. func (m *MedalCategoryInfo) GetName() string {
  1041. if m != nil {
  1042. return m.Name
  1043. }
  1044. return ""
  1045. }
  1046. func (m *MedalCategoryInfo) GetData() []*MedalItemInfo {
  1047. if m != nil {
  1048. return m.Data
  1049. }
  1050. return nil
  1051. }
  1052. type MedalItemInfo struct {
  1053. Left *MedalInfo `protobuf:"bytes,1,opt,name=Left" json:"left"`
  1054. Count int32 `protobuf:"varint,2,opt,name=Count,proto3" json:"count"`
  1055. Right []*MedalInfo `protobuf:"bytes,3,rep,name=Right" json:"right,omitempty"`
  1056. }
  1057. func (m *MedalItemInfo) Reset() { *m = MedalItemInfo{} }
  1058. func (m *MedalItemInfo) String() string { return proto.CompactTextString(m) }
  1059. func (*MedalItemInfo) ProtoMessage() {}
  1060. func (*MedalItemInfo) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{20} }
  1061. func (m *MedalItemInfo) GetLeft() *MedalInfo {
  1062. if m != nil {
  1063. return m.Left
  1064. }
  1065. return nil
  1066. }
  1067. func (m *MedalItemInfo) GetCount() int32 {
  1068. if m != nil {
  1069. return m.Count
  1070. }
  1071. return 0
  1072. }
  1073. func (m *MedalItemInfo) GetRight() []*MedalInfo {
  1074. if m != nil {
  1075. return m.Right
  1076. }
  1077. return nil
  1078. }
  1079. type PointFlag struct {
  1080. Pendant bool `protobuf:"varint,1,opt,name=Pendant,proto3" json:"pendant"`
  1081. Medal bool `protobuf:"varint,2,opt,name=Medal,proto3" json:"medal"`
  1082. }
  1083. func (m *PointFlag) Reset() { *m = PointFlag{} }
  1084. func (m *PointFlag) String() string { return proto.CompactTextString(m) }
  1085. func (*PointFlag) ProtoMessage() {}
  1086. func (*PointFlag) Descriptor() ([]byte, []int) { return fileDescriptorModel, []int{21} }
  1087. func (m *PointFlag) GetPendant() bool {
  1088. if m != nil {
  1089. return m.Pendant
  1090. }
  1091. return false
  1092. }
  1093. func (m *PointFlag) GetMedal() bool {
  1094. if m != nil {
  1095. return m.Medal
  1096. }
  1097. return false
  1098. }
  1099. func init() {
  1100. proto.RegisterType((*ArgPendantHistory)(nil), "account.service.usersuit.ArgPendantHistory")
  1101. proto.RegisterType((*ArgOrderHistory)(nil), "account.service.usersuit.ArgOrderHistory")
  1102. proto.RegisterType((*PendantGroupInfo)(nil), "account.service.usersuit.PendantGroupInfo")
  1103. proto.RegisterType((*PendantGroup)(nil), "account.service.usersuit.PendantGroup")
  1104. proto.RegisterType((*PendantPrice)(nil), "account.service.usersuit.PendantPrice")
  1105. proto.RegisterType((*PendantHistory)(nil), "account.service.usersuit.PendantHistory")
  1106. proto.RegisterType((*PendantOrderInfo)(nil), "account.service.usersuit.PendantOrderInfo")
  1107. proto.RegisterType((*PayInfo)(nil), "account.service.usersuit.PayInfo")
  1108. proto.RegisterType((*Pendant)(nil), "account.service.usersuit.Pendant")
  1109. proto.RegisterType((*PendantPackage)(nil), "account.service.usersuit.PendantPackage")
  1110. proto.RegisterType((*PendantEquip)(nil), "account.service.usersuit.PendantEquip")
  1111. proto.RegisterType((*GroupPendantList)(nil), "account.service.usersuit.GroupPendantList")
  1112. proto.RegisterType((*MedalInfo)(nil), "account.service.usersuit.MedalInfo")
  1113. proto.RegisterType((*MedalHomeInfo)(nil), "account.service.usersuit.MedalHomeInfo")
  1114. proto.RegisterType((*MedalUserInfo)(nil), "account.service.usersuit.MedalUserInfo")
  1115. proto.RegisterType((*MedalPopup)(nil), "account.service.usersuit.MedalPopup")
  1116. proto.RegisterType((*MedalMyInfo)(nil), "account.service.usersuit.MedalMyInfo")
  1117. proto.RegisterType((*MedalMyInfos)(nil), "account.service.usersuit.MedalMyInfos")
  1118. proto.RegisterType((*MedalAllInfos)(nil), "account.service.usersuit.MedalAllInfos")
  1119. proto.RegisterType((*MedalCategoryInfo)(nil), "account.service.usersuit.MedalCategoryInfo")
  1120. proto.RegisterType((*MedalItemInfo)(nil), "account.service.usersuit.MedalItemInfo")
  1121. proto.RegisterType((*PointFlag)(nil), "account.service.usersuit.PointFlag")
  1122. }
  1123. func (m *ArgPendantHistory) Marshal() (dAtA []byte, err error) {
  1124. size := m.Size()
  1125. dAtA = make([]byte, size)
  1126. n, err := m.MarshalTo(dAtA)
  1127. if err != nil {
  1128. return nil, err
  1129. }
  1130. return dAtA[:n], nil
  1131. }
  1132. func (m *ArgPendantHistory) MarshalTo(dAtA []byte) (int, error) {
  1133. var i int
  1134. _ = i
  1135. var l int
  1136. _ = l
  1137. if m.Mid != 0 {
  1138. dAtA[i] = 0x8
  1139. i++
  1140. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1141. }
  1142. if m.SourceType != 0 {
  1143. dAtA[i] = 0x10
  1144. i++
  1145. i = encodeVarintModel(dAtA, i, uint64(m.SourceType))
  1146. }
  1147. if m.StartTime != 0 {
  1148. dAtA[i] = 0x18
  1149. i++
  1150. i = encodeVarintModel(dAtA, i, uint64(m.StartTime))
  1151. }
  1152. if m.EndTime != 0 {
  1153. dAtA[i] = 0x20
  1154. i++
  1155. i = encodeVarintModel(dAtA, i, uint64(m.EndTime))
  1156. }
  1157. if m.Page != 0 {
  1158. dAtA[i] = 0x28
  1159. i++
  1160. i = encodeVarintModel(dAtA, i, uint64(m.Page))
  1161. }
  1162. return i, nil
  1163. }
  1164. func (m *ArgOrderHistory) Marshal() (dAtA []byte, err error) {
  1165. size := m.Size()
  1166. dAtA = make([]byte, size)
  1167. n, err := m.MarshalTo(dAtA)
  1168. if err != nil {
  1169. return nil, err
  1170. }
  1171. return dAtA[:n], nil
  1172. }
  1173. func (m *ArgOrderHistory) MarshalTo(dAtA []byte) (int, error) {
  1174. var i int
  1175. _ = i
  1176. var l int
  1177. _ = l
  1178. if len(m.OrderID) > 0 {
  1179. dAtA[i] = 0xa
  1180. i++
  1181. i = encodeVarintModel(dAtA, i, uint64(len(m.OrderID)))
  1182. i += copy(dAtA[i:], m.OrderID)
  1183. }
  1184. if len(m.PayID) > 0 {
  1185. dAtA[i] = 0x12
  1186. i++
  1187. i = encodeVarintModel(dAtA, i, uint64(len(m.PayID)))
  1188. i += copy(dAtA[i:], m.PayID)
  1189. }
  1190. if m.Mid != 0 {
  1191. dAtA[i] = 0x18
  1192. i++
  1193. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1194. }
  1195. if m.Pid != 0 {
  1196. dAtA[i] = 0x20
  1197. i++
  1198. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1199. }
  1200. if m.Status != 0 {
  1201. dAtA[i] = 0x28
  1202. i++
  1203. i = encodeVarintModel(dAtA, i, uint64(m.Status))
  1204. }
  1205. if m.PayType != 0 {
  1206. dAtA[i] = 0x30
  1207. i++
  1208. i = encodeVarintModel(dAtA, i, uint64(m.PayType))
  1209. }
  1210. if m.StartTime != 0 {
  1211. dAtA[i] = 0x38
  1212. i++
  1213. i = encodeVarintModel(dAtA, i, uint64(m.StartTime))
  1214. }
  1215. if m.EndTime != 0 {
  1216. dAtA[i] = 0x40
  1217. i++
  1218. i = encodeVarintModel(dAtA, i, uint64(m.EndTime))
  1219. }
  1220. if m.Page != 0 {
  1221. dAtA[i] = 0x48
  1222. i++
  1223. i = encodeVarintModel(dAtA, i, uint64(m.Page))
  1224. }
  1225. return i, nil
  1226. }
  1227. func (m *PendantGroupInfo) Marshal() (dAtA []byte, err error) {
  1228. size := m.Size()
  1229. dAtA = make([]byte, size)
  1230. n, err := m.MarshalTo(dAtA)
  1231. if err != nil {
  1232. return nil, err
  1233. }
  1234. return dAtA[:n], nil
  1235. }
  1236. func (m *PendantGroupInfo) MarshalTo(dAtA []byte) (int, error) {
  1237. var i int
  1238. _ = i
  1239. var l int
  1240. _ = l
  1241. if m.ID != 0 {
  1242. dAtA[i] = 0x8
  1243. i++
  1244. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1245. }
  1246. if len(m.Name) > 0 {
  1247. dAtA[i] = 0x12
  1248. i++
  1249. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1250. i += copy(dAtA[i:], m.Name)
  1251. }
  1252. if m.Rank != 0 {
  1253. dAtA[i] = 0x18
  1254. i++
  1255. i = encodeVarintModel(dAtA, i, uint64(m.Rank))
  1256. }
  1257. if m.Status != 0 {
  1258. dAtA[i] = 0x20
  1259. i++
  1260. i = encodeVarintModel(dAtA, i, uint64(m.Status))
  1261. }
  1262. if len(m.Image) > 0 {
  1263. dAtA[i] = 0x2a
  1264. i++
  1265. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1266. i += copy(dAtA[i:], m.Image)
  1267. }
  1268. if len(m.ImageModel) > 0 {
  1269. dAtA[i] = 0x32
  1270. i++
  1271. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageModel)))
  1272. i += copy(dAtA[i:], m.ImageModel)
  1273. }
  1274. if m.FrequencyLimit != 0 {
  1275. dAtA[i] = 0x38
  1276. i++
  1277. i = encodeVarintModel(dAtA, i, uint64(m.FrequencyLimit))
  1278. }
  1279. if m.TimeLimit != 0 {
  1280. dAtA[i] = 0x40
  1281. i++
  1282. i = encodeVarintModel(dAtA, i, uint64(m.TimeLimit))
  1283. }
  1284. if m.Number != 0 {
  1285. dAtA[i] = 0x48
  1286. i++
  1287. i = encodeVarintModel(dAtA, i, uint64(m.Number))
  1288. }
  1289. if len(m.SubPendant) > 0 {
  1290. for _, msg := range m.SubPendant {
  1291. dAtA[i] = 0x52
  1292. i++
  1293. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  1294. n, err := msg.MarshalTo(dAtA[i:])
  1295. if err != nil {
  1296. return 0, err
  1297. }
  1298. i += n
  1299. }
  1300. }
  1301. return i, nil
  1302. }
  1303. func (m *PendantGroup) Marshal() (dAtA []byte, err error) {
  1304. size := m.Size()
  1305. dAtA = make([]byte, size)
  1306. n, err := m.MarshalTo(dAtA)
  1307. if err != nil {
  1308. return nil, err
  1309. }
  1310. return dAtA[:n], nil
  1311. }
  1312. func (m *PendantGroup) MarshalTo(dAtA []byte) (int, error) {
  1313. var i int
  1314. _ = i
  1315. var l int
  1316. _ = l
  1317. if m.ID != 0 {
  1318. dAtA[i] = 0x8
  1319. i++
  1320. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1321. }
  1322. if m.Gid != 0 {
  1323. dAtA[i] = 0x10
  1324. i++
  1325. i = encodeVarintModel(dAtA, i, uint64(m.Gid))
  1326. }
  1327. if m.Pid != 0 {
  1328. dAtA[i] = 0x18
  1329. i++
  1330. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1331. }
  1332. return i, nil
  1333. }
  1334. func (m *PendantPrice) Marshal() (dAtA []byte, err error) {
  1335. size := m.Size()
  1336. dAtA = make([]byte, size)
  1337. n, err := m.MarshalTo(dAtA)
  1338. if err != nil {
  1339. return nil, err
  1340. }
  1341. return dAtA[:n], nil
  1342. }
  1343. func (m *PendantPrice) MarshalTo(dAtA []byte) (int, error) {
  1344. var i int
  1345. _ = i
  1346. var l int
  1347. _ = l
  1348. if m.ID != 0 {
  1349. dAtA[i] = 0x8
  1350. i++
  1351. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1352. }
  1353. if m.Pid != 0 {
  1354. dAtA[i] = 0x10
  1355. i++
  1356. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1357. }
  1358. if m.Type != 0 {
  1359. dAtA[i] = 0x18
  1360. i++
  1361. i = encodeVarintModel(dAtA, i, uint64(m.Type))
  1362. }
  1363. if m.Price != 0 {
  1364. dAtA[i] = 0x20
  1365. i++
  1366. i = encodeVarintModel(dAtA, i, uint64(m.Price))
  1367. }
  1368. return i, nil
  1369. }
  1370. func (m *PendantHistory) Marshal() (dAtA []byte, err error) {
  1371. size := m.Size()
  1372. dAtA = make([]byte, size)
  1373. n, err := m.MarshalTo(dAtA)
  1374. if err != nil {
  1375. return nil, err
  1376. }
  1377. return dAtA[:n], nil
  1378. }
  1379. func (m *PendantHistory) MarshalTo(dAtA []byte) (int, error) {
  1380. var i int
  1381. _ = i
  1382. var l int
  1383. _ = l
  1384. if m.ID != 0 {
  1385. dAtA[i] = 0x8
  1386. i++
  1387. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1388. }
  1389. if m.Mid != 0 {
  1390. dAtA[i] = 0x10
  1391. i++
  1392. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1393. }
  1394. if m.Pid != 0 {
  1395. dAtA[i] = 0x18
  1396. i++
  1397. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1398. }
  1399. if m.SourceType != 0 {
  1400. dAtA[i] = 0x20
  1401. i++
  1402. i = encodeVarintModel(dAtA, i, uint64(m.SourceType))
  1403. }
  1404. if m.Expire != 0 {
  1405. dAtA[i] = 0x28
  1406. i++
  1407. i = encodeVarintModel(dAtA, i, uint64(m.Expire))
  1408. }
  1409. if len(m.OperatorName) > 0 {
  1410. dAtA[i] = 0x32
  1411. i++
  1412. i = encodeVarintModel(dAtA, i, uint64(len(m.OperatorName)))
  1413. i += copy(dAtA[i:], m.OperatorName)
  1414. }
  1415. if m.OperatorAction != 0 {
  1416. dAtA[i] = 0x38
  1417. i++
  1418. i = encodeVarintModel(dAtA, i, uint64(m.OperatorAction))
  1419. }
  1420. return i, nil
  1421. }
  1422. func (m *PendantOrderInfo) Marshal() (dAtA []byte, err error) {
  1423. size := m.Size()
  1424. dAtA = make([]byte, size)
  1425. n, err := m.MarshalTo(dAtA)
  1426. if err != nil {
  1427. return nil, err
  1428. }
  1429. return dAtA[:n], nil
  1430. }
  1431. func (m *PendantOrderInfo) MarshalTo(dAtA []byte) (int, error) {
  1432. var i int
  1433. _ = i
  1434. var l int
  1435. _ = l
  1436. if m.ID != 0 {
  1437. dAtA[i] = 0x8
  1438. i++
  1439. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1440. }
  1441. if m.Mid != 0 {
  1442. dAtA[i] = 0x10
  1443. i++
  1444. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1445. }
  1446. if len(m.OrderID) > 0 {
  1447. dAtA[i] = 0x1a
  1448. i++
  1449. i = encodeVarintModel(dAtA, i, uint64(len(m.OrderID)))
  1450. i += copy(dAtA[i:], m.OrderID)
  1451. }
  1452. if len(m.PayID) > 0 {
  1453. dAtA[i] = 0x22
  1454. i++
  1455. i = encodeVarintModel(dAtA, i, uint64(len(m.PayID)))
  1456. i += copy(dAtA[i:], m.PayID)
  1457. }
  1458. if m.PayType != 0 {
  1459. dAtA[i] = 0x28
  1460. i++
  1461. i = encodeVarintModel(dAtA, i, uint64(m.PayType))
  1462. }
  1463. if m.PayPrice != 0 {
  1464. dAtA[i] = 0x31
  1465. i++
  1466. binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.PayPrice))))
  1467. i += 8
  1468. }
  1469. if m.AppID != 0 {
  1470. dAtA[i] = 0x38
  1471. i++
  1472. i = encodeVarintModel(dAtA, i, uint64(m.AppID))
  1473. }
  1474. if m.Stauts != 0 {
  1475. dAtA[i] = 0x40
  1476. i++
  1477. i = encodeVarintModel(dAtA, i, uint64(m.Stauts))
  1478. }
  1479. if m.Pid != 0 {
  1480. dAtA[i] = 0x48
  1481. i++
  1482. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1483. }
  1484. if m.TimeLength != 0 {
  1485. dAtA[i] = 0x50
  1486. i++
  1487. i = encodeVarintModel(dAtA, i, uint64(m.TimeLength))
  1488. }
  1489. if len(m.Cost) > 0 {
  1490. dAtA[i] = 0x5a
  1491. i++
  1492. i = encodeVarintModel(dAtA, i, uint64(len(m.Cost)))
  1493. i += copy(dAtA[i:], m.Cost)
  1494. }
  1495. if m.BuyTime != 0 {
  1496. dAtA[i] = 0x60
  1497. i++
  1498. i = encodeVarintModel(dAtA, i, uint64(m.BuyTime))
  1499. }
  1500. if m.IsCallback != 0 {
  1501. dAtA[i] = 0x68
  1502. i++
  1503. i = encodeVarintModel(dAtA, i, uint64(m.IsCallback))
  1504. }
  1505. if m.CallbackTime != 0 {
  1506. dAtA[i] = 0x70
  1507. i++
  1508. i = encodeVarintModel(dAtA, i, uint64(m.CallbackTime))
  1509. }
  1510. if len(m.Image) > 0 {
  1511. dAtA[i] = 0x7a
  1512. i++
  1513. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1514. i += copy(dAtA[i:], m.Image)
  1515. }
  1516. if len(m.Name) > 0 {
  1517. dAtA[i] = 0x82
  1518. i++
  1519. dAtA[i] = 0x1
  1520. i++
  1521. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1522. i += copy(dAtA[i:], m.Name)
  1523. }
  1524. return i, nil
  1525. }
  1526. func (m *PayInfo) Marshal() (dAtA []byte, err error) {
  1527. size := m.Size()
  1528. dAtA = make([]byte, size)
  1529. n, err := m.MarshalTo(dAtA)
  1530. if err != nil {
  1531. return nil, err
  1532. }
  1533. return dAtA[:n], nil
  1534. }
  1535. func (m *PayInfo) MarshalTo(dAtA []byte) (int, error) {
  1536. var i int
  1537. _ = i
  1538. var l int
  1539. _ = l
  1540. if len(m.OrderID) > 0 {
  1541. dAtA[i] = 0xa
  1542. i++
  1543. i = encodeVarintModel(dAtA, i, uint64(len(m.OrderID)))
  1544. i += copy(dAtA[i:], m.OrderID)
  1545. }
  1546. if len(m.OrderNum) > 0 {
  1547. dAtA[i] = 0x12
  1548. i++
  1549. i = encodeVarintModel(dAtA, i, uint64(len(m.OrderNum)))
  1550. i += copy(dAtA[i:], m.OrderNum)
  1551. }
  1552. if len(m.PayURL) > 0 {
  1553. dAtA[i] = 0x1a
  1554. i++
  1555. i = encodeVarintModel(dAtA, i, uint64(len(m.PayURL)))
  1556. i += copy(dAtA[i:], m.PayURL)
  1557. }
  1558. return i, nil
  1559. }
  1560. func (m *Pendant) Marshal() (dAtA []byte, err error) {
  1561. size := m.Size()
  1562. dAtA = make([]byte, size)
  1563. n, err := m.MarshalTo(dAtA)
  1564. if err != nil {
  1565. return nil, err
  1566. }
  1567. return dAtA[:n], nil
  1568. }
  1569. func (m *Pendant) MarshalTo(dAtA []byte) (int, error) {
  1570. var i int
  1571. _ = i
  1572. var l int
  1573. _ = l
  1574. if m.ID != 0 {
  1575. dAtA[i] = 0x8
  1576. i++
  1577. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1578. }
  1579. if len(m.Name) > 0 {
  1580. dAtA[i] = 0x12
  1581. i++
  1582. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1583. i += copy(dAtA[i:], m.Name)
  1584. }
  1585. if len(m.Image) > 0 {
  1586. dAtA[i] = 0x1a
  1587. i++
  1588. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1589. i += copy(dAtA[i:], m.Image)
  1590. }
  1591. if len(m.ImageModel) > 0 {
  1592. dAtA[i] = 0x22
  1593. i++
  1594. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageModel)))
  1595. i += copy(dAtA[i:], m.ImageModel)
  1596. }
  1597. if m.Status != 0 {
  1598. dAtA[i] = 0x28
  1599. i++
  1600. i = encodeVarintModel(dAtA, i, uint64(m.Status))
  1601. }
  1602. if m.Coin != 0 {
  1603. dAtA[i] = 0x30
  1604. i++
  1605. i = encodeVarintModel(dAtA, i, uint64(m.Coin))
  1606. }
  1607. if m.Point != 0 {
  1608. dAtA[i] = 0x38
  1609. i++
  1610. i = encodeVarintModel(dAtA, i, uint64(m.Point))
  1611. }
  1612. if m.BCoin != 0 {
  1613. dAtA[i] = 0x40
  1614. i++
  1615. i = encodeVarintModel(dAtA, i, uint64(m.BCoin))
  1616. }
  1617. if m.Expires != 0 {
  1618. dAtA[i] = 0x48
  1619. i++
  1620. i = encodeVarintModel(dAtA, i, uint64(m.Expires))
  1621. }
  1622. if m.Gid != 0 {
  1623. dAtA[i] = 0x50
  1624. i++
  1625. i = encodeVarintModel(dAtA, i, uint64(m.Gid))
  1626. }
  1627. if m.Rank != 0 {
  1628. dAtA[i] = 0x58
  1629. i++
  1630. i = encodeVarintModel(dAtA, i, uint64(m.Rank))
  1631. }
  1632. return i, nil
  1633. }
  1634. func (m *PendantPackage) Marshal() (dAtA []byte, err error) {
  1635. size := m.Size()
  1636. dAtA = make([]byte, size)
  1637. n, err := m.MarshalTo(dAtA)
  1638. if err != nil {
  1639. return nil, err
  1640. }
  1641. return dAtA[:n], nil
  1642. }
  1643. func (m *PendantPackage) MarshalTo(dAtA []byte) (int, error) {
  1644. var i int
  1645. _ = i
  1646. var l int
  1647. _ = l
  1648. if m.ID != 0 {
  1649. dAtA[i] = 0x8
  1650. i++
  1651. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1652. }
  1653. if m.Mid != 0 {
  1654. dAtA[i] = 0x10
  1655. i++
  1656. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1657. }
  1658. if m.Pid != 0 {
  1659. dAtA[i] = 0x18
  1660. i++
  1661. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1662. }
  1663. if m.Expires != 0 {
  1664. dAtA[i] = 0x20
  1665. i++
  1666. i = encodeVarintModel(dAtA, i, uint64(m.Expires))
  1667. }
  1668. if m.Type != 0 {
  1669. dAtA[i] = 0x28
  1670. i++
  1671. i = encodeVarintModel(dAtA, i, uint64(m.Type))
  1672. }
  1673. if m.Status != 0 {
  1674. dAtA[i] = 0x30
  1675. i++
  1676. i = encodeVarintModel(dAtA, i, uint64(m.Status))
  1677. }
  1678. if m.IsVIP != 0 {
  1679. dAtA[i] = 0x38
  1680. i++
  1681. i = encodeVarintModel(dAtA, i, uint64(m.IsVIP))
  1682. }
  1683. if m.Pendant != nil {
  1684. dAtA[i] = 0x42
  1685. i++
  1686. i = encodeVarintModel(dAtA, i, uint64(m.Pendant.Size()))
  1687. n1, err := m.Pendant.MarshalTo(dAtA[i:])
  1688. if err != nil {
  1689. return 0, err
  1690. }
  1691. i += n1
  1692. }
  1693. return i, nil
  1694. }
  1695. func (m *PendantEquip) Marshal() (dAtA []byte, err error) {
  1696. size := m.Size()
  1697. dAtA = make([]byte, size)
  1698. n, err := m.MarshalTo(dAtA)
  1699. if err != nil {
  1700. return nil, err
  1701. }
  1702. return dAtA[:n], nil
  1703. }
  1704. func (m *PendantEquip) MarshalTo(dAtA []byte) (int, error) {
  1705. var i int
  1706. _ = i
  1707. var l int
  1708. _ = l
  1709. if m.Mid != 0 {
  1710. dAtA[i] = 0x8
  1711. i++
  1712. i = encodeVarintModel(dAtA, i, uint64(m.Mid))
  1713. }
  1714. if m.Pid != 0 {
  1715. dAtA[i] = 0x10
  1716. i++
  1717. i = encodeVarintModel(dAtA, i, uint64(m.Pid))
  1718. }
  1719. if m.Expires != 0 {
  1720. dAtA[i] = 0x18
  1721. i++
  1722. i = encodeVarintModel(dAtA, i, uint64(m.Expires))
  1723. }
  1724. if m.Pendant != nil {
  1725. dAtA[i] = 0x22
  1726. i++
  1727. i = encodeVarintModel(dAtA, i, uint64(m.Pendant.Size()))
  1728. n2, err := m.Pendant.MarshalTo(dAtA[i:])
  1729. if err != nil {
  1730. return 0, err
  1731. }
  1732. i += n2
  1733. }
  1734. return i, nil
  1735. }
  1736. func (m *GroupPendantList) Marshal() (dAtA []byte, err error) {
  1737. size := m.Size()
  1738. dAtA = make([]byte, size)
  1739. n, err := m.MarshalTo(dAtA)
  1740. if err != nil {
  1741. return nil, err
  1742. }
  1743. return dAtA[:n], nil
  1744. }
  1745. func (m *GroupPendantList) MarshalTo(dAtA []byte) (int, error) {
  1746. var i int
  1747. _ = i
  1748. var l int
  1749. _ = l
  1750. if m.PkgExpires != 0 {
  1751. dAtA[i] = 0x8
  1752. i++
  1753. i = encodeVarintModel(dAtA, i, uint64(m.PkgExpires))
  1754. }
  1755. if m.PkgStatus != 0 {
  1756. dAtA[i] = 0x10
  1757. i++
  1758. i = encodeVarintModel(dAtA, i, uint64(m.PkgStatus))
  1759. }
  1760. if m.Pendant != nil {
  1761. dAtA[i] = 0x1a
  1762. i++
  1763. i = encodeVarintModel(dAtA, i, uint64(m.Pendant.Size()))
  1764. n3, err := m.Pendant.MarshalTo(dAtA[i:])
  1765. if err != nil {
  1766. return 0, err
  1767. }
  1768. i += n3
  1769. }
  1770. return i, nil
  1771. }
  1772. func (m *MedalInfo) Marshal() (dAtA []byte, err error) {
  1773. size := m.Size()
  1774. dAtA = make([]byte, size)
  1775. n, err := m.MarshalTo(dAtA)
  1776. if err != nil {
  1777. return nil, err
  1778. }
  1779. return dAtA[:n], nil
  1780. }
  1781. func (m *MedalInfo) MarshalTo(dAtA []byte) (int, error) {
  1782. var i int
  1783. _ = i
  1784. var l int
  1785. _ = l
  1786. if m.ID != 0 {
  1787. dAtA[i] = 0x8
  1788. i++
  1789. i = encodeVarintModel(dAtA, i, uint64(m.ID))
  1790. }
  1791. if len(m.Name) > 0 {
  1792. dAtA[i] = 0x12
  1793. i++
  1794. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1795. i += copy(dAtA[i:], m.Name)
  1796. }
  1797. if len(m.Description) > 0 {
  1798. dAtA[i] = 0x1a
  1799. i++
  1800. i = encodeVarintModel(dAtA, i, uint64(len(m.Description)))
  1801. i += copy(dAtA[i:], m.Description)
  1802. }
  1803. if len(m.Image) > 0 {
  1804. dAtA[i] = 0x22
  1805. i++
  1806. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1807. i += copy(dAtA[i:], m.Image)
  1808. }
  1809. if len(m.ImageSmall) > 0 {
  1810. dAtA[i] = 0x2a
  1811. i++
  1812. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageSmall)))
  1813. i += copy(dAtA[i:], m.ImageSmall)
  1814. }
  1815. if len(m.Condition) > 0 {
  1816. dAtA[i] = 0x32
  1817. i++
  1818. i = encodeVarintModel(dAtA, i, uint64(len(m.Condition)))
  1819. i += copy(dAtA[i:], m.Condition)
  1820. }
  1821. if m.GID != 0 {
  1822. dAtA[i] = 0x38
  1823. i++
  1824. i = encodeVarintModel(dAtA, i, uint64(m.GID))
  1825. }
  1826. if m.Level != 0 {
  1827. dAtA[i] = 0x40
  1828. i++
  1829. i = encodeVarintModel(dAtA, i, uint64(m.Level))
  1830. }
  1831. if len(m.LevelRank) > 0 {
  1832. dAtA[i] = 0x4a
  1833. i++
  1834. i = encodeVarintModel(dAtA, i, uint64(len(m.LevelRank)))
  1835. i += copy(dAtA[i:], m.LevelRank)
  1836. }
  1837. if len(m.LevelDesc) > 0 {
  1838. dAtA[i] = 0x52
  1839. i++
  1840. i = encodeVarintModel(dAtA, i, uint64(len(m.LevelDesc)))
  1841. i += copy(dAtA[i:], m.LevelDesc)
  1842. }
  1843. if m.Sort != 0 {
  1844. dAtA[i] = 0x58
  1845. i++
  1846. i = encodeVarintModel(dAtA, i, uint64(m.Sort))
  1847. }
  1848. if m.IsOnline != 0 {
  1849. dAtA[i] = 0x60
  1850. i++
  1851. i = encodeVarintModel(dAtA, i, uint64(m.IsOnline))
  1852. }
  1853. if m.IsGet != 0 {
  1854. dAtA[i] = 0x68
  1855. i++
  1856. i = encodeVarintModel(dAtA, i, uint64(m.IsGet))
  1857. }
  1858. if m.Ctime != 0 {
  1859. dAtA[i] = 0x70
  1860. i++
  1861. i = encodeVarintModel(dAtA, i, uint64(m.Ctime))
  1862. }
  1863. if m.Mtime != 0 {
  1864. dAtA[i] = 0x78
  1865. i++
  1866. i = encodeVarintModel(dAtA, i, uint64(m.Mtime))
  1867. }
  1868. return i, nil
  1869. }
  1870. func (m *MedalHomeInfo) Marshal() (dAtA []byte, err error) {
  1871. size := m.Size()
  1872. dAtA = make([]byte, size)
  1873. n, err := m.MarshalTo(dAtA)
  1874. if err != nil {
  1875. return nil, err
  1876. }
  1877. return dAtA[:n], nil
  1878. }
  1879. func (m *MedalHomeInfo) MarshalTo(dAtA []byte) (int, error) {
  1880. var i int
  1881. _ = i
  1882. var l int
  1883. _ = l
  1884. if len(m.Description) > 0 {
  1885. dAtA[i] = 0xa
  1886. i++
  1887. i = encodeVarintModel(dAtA, i, uint64(len(m.Description)))
  1888. i += copy(dAtA[i:], m.Description)
  1889. }
  1890. if len(m.Image) > 0 {
  1891. dAtA[i] = 0x12
  1892. i++
  1893. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  1894. i += copy(dAtA[i:], m.Image)
  1895. }
  1896. if len(m.ImageSmall) > 0 {
  1897. dAtA[i] = 0x1a
  1898. i++
  1899. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageSmall)))
  1900. i += copy(dAtA[i:], m.ImageSmall)
  1901. }
  1902. if m.IsActivated != 0 {
  1903. dAtA[i] = 0x20
  1904. i++
  1905. i = encodeVarintModel(dAtA, i, uint64(m.IsActivated))
  1906. }
  1907. if len(m.Level) > 0 {
  1908. dAtA[i] = 0x2a
  1909. i++
  1910. i = encodeVarintModel(dAtA, i, uint64(len(m.Level)))
  1911. i += copy(dAtA[i:], m.Level)
  1912. }
  1913. if len(m.Name) > 0 {
  1914. dAtA[i] = 0x32
  1915. i++
  1916. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1917. i += copy(dAtA[i:], m.Name)
  1918. }
  1919. if m.NID != 0 {
  1920. dAtA[i] = 0x38
  1921. i++
  1922. i = encodeVarintModel(dAtA, i, uint64(m.NID))
  1923. }
  1924. return i, nil
  1925. }
  1926. func (m *MedalUserInfo) Marshal() (dAtA []byte, err error) {
  1927. size := m.Size()
  1928. dAtA = make([]byte, size)
  1929. n, err := m.MarshalTo(dAtA)
  1930. if err != nil {
  1931. return nil, err
  1932. }
  1933. return dAtA[:n], nil
  1934. }
  1935. func (m *MedalUserInfo) MarshalTo(dAtA []byte) (int, error) {
  1936. var i int
  1937. _ = i
  1938. var l int
  1939. _ = l
  1940. if len(m.Name) > 0 {
  1941. dAtA[i] = 0xa
  1942. i++
  1943. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  1944. i += copy(dAtA[i:], m.Name)
  1945. }
  1946. if len(m.Face) > 0 {
  1947. dAtA[i] = 0x12
  1948. i++
  1949. i = encodeVarintModel(dAtA, i, uint64(len(m.Face)))
  1950. i += copy(dAtA[i:], m.Face)
  1951. }
  1952. if m.Level != 0 {
  1953. dAtA[i] = 0x18
  1954. i++
  1955. i = encodeVarintModel(dAtA, i, uint64(m.Level))
  1956. }
  1957. if m.TrueLove {
  1958. dAtA[i] = 0x20
  1959. i++
  1960. if m.TrueLove {
  1961. dAtA[i] = 1
  1962. } else {
  1963. dAtA[i] = 0
  1964. }
  1965. i++
  1966. }
  1967. if m.NID != 0 {
  1968. dAtA[i] = 0x28
  1969. i++
  1970. i = encodeVarintModel(dAtA, i, uint64(m.NID))
  1971. }
  1972. if len(m.ImageSmall) > 0 {
  1973. dAtA[i] = 0x32
  1974. i++
  1975. i = encodeVarintModel(dAtA, i, uint64(len(m.ImageSmall)))
  1976. i += copy(dAtA[i:], m.ImageSmall)
  1977. }
  1978. return i, nil
  1979. }
  1980. func (m *MedalPopup) Marshal() (dAtA []byte, err error) {
  1981. size := m.Size()
  1982. dAtA = make([]byte, size)
  1983. n, err := m.MarshalTo(dAtA)
  1984. if err != nil {
  1985. return nil, err
  1986. }
  1987. return dAtA[:n], nil
  1988. }
  1989. func (m *MedalPopup) MarshalTo(dAtA []byte) (int, error) {
  1990. var i int
  1991. _ = i
  1992. var l int
  1993. _ = l
  1994. if m.NID != 0 {
  1995. dAtA[i] = 0x8
  1996. i++
  1997. i = encodeVarintModel(dAtA, i, uint64(m.NID))
  1998. }
  1999. if len(m.Name) > 0 {
  2000. dAtA[i] = 0x12
  2001. i++
  2002. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  2003. i += copy(dAtA[i:], m.Name)
  2004. }
  2005. if len(m.Image) > 0 {
  2006. dAtA[i] = 0x1a
  2007. i++
  2008. i = encodeVarintModel(dAtA, i, uint64(len(m.Image)))
  2009. i += copy(dAtA[i:], m.Image)
  2010. }
  2011. return i, nil
  2012. }
  2013. func (m *MedalMyInfo) Marshal() (dAtA []byte, err error) {
  2014. size := m.Size()
  2015. dAtA = make([]byte, size)
  2016. n, err := m.MarshalTo(dAtA)
  2017. if err != nil {
  2018. return nil, err
  2019. }
  2020. return dAtA[:n], nil
  2021. }
  2022. func (m *MedalMyInfo) MarshalTo(dAtA []byte) (int, error) {
  2023. var i int
  2024. _ = i
  2025. var l int
  2026. _ = l
  2027. if m.MedalInfo != nil {
  2028. dAtA[i] = 0xa
  2029. i++
  2030. i = encodeVarintModel(dAtA, i, uint64(m.MedalInfo.Size()))
  2031. n4, err := m.MedalInfo.MarshalTo(dAtA[i:])
  2032. if err != nil {
  2033. return 0, err
  2034. }
  2035. i += n4
  2036. }
  2037. if m.IsActivated != 0 {
  2038. dAtA[i] = 0x10
  2039. i++
  2040. i = encodeVarintModel(dAtA, i, uint64(m.IsActivated))
  2041. }
  2042. if m.IsNewGet != 0 {
  2043. dAtA[i] = 0x18
  2044. i++
  2045. i = encodeVarintModel(dAtA, i, uint64(m.IsNewGet))
  2046. }
  2047. if m.GetTime != 0 {
  2048. dAtA[i] = 0x20
  2049. i++
  2050. i = encodeVarintModel(dAtA, i, uint64(m.GetTime))
  2051. }
  2052. return i, nil
  2053. }
  2054. func (m *MedalMyInfos) Marshal() (dAtA []byte, err error) {
  2055. size := m.Size()
  2056. dAtA = make([]byte, size)
  2057. n, err := m.MarshalTo(dAtA)
  2058. if err != nil {
  2059. return nil, err
  2060. }
  2061. return dAtA[:n], nil
  2062. }
  2063. func (m *MedalMyInfos) MarshalTo(dAtA []byte) (int, error) {
  2064. var i int
  2065. _ = i
  2066. var l int
  2067. _ = l
  2068. if m.Count != 0 {
  2069. dAtA[i] = 0x8
  2070. i++
  2071. i = encodeVarintModel(dAtA, i, uint64(m.Count))
  2072. }
  2073. if len(m.Name) > 0 {
  2074. dAtA[i] = 0x12
  2075. i++
  2076. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  2077. i += copy(dAtA[i:], m.Name)
  2078. }
  2079. if len(m.List) > 0 {
  2080. for _, msg := range m.List {
  2081. dAtA[i] = 0x1a
  2082. i++
  2083. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  2084. n, err := msg.MarshalTo(dAtA[i:])
  2085. if err != nil {
  2086. return 0, err
  2087. }
  2088. i += n
  2089. }
  2090. }
  2091. return i, nil
  2092. }
  2093. func (m *MedalAllInfos) Marshal() (dAtA []byte, err error) {
  2094. size := m.Size()
  2095. dAtA = make([]byte, size)
  2096. n, err := m.MarshalTo(dAtA)
  2097. if err != nil {
  2098. return nil, err
  2099. }
  2100. return dAtA[:n], nil
  2101. }
  2102. func (m *MedalAllInfos) MarshalTo(dAtA []byte) (int, error) {
  2103. var i int
  2104. _ = i
  2105. var l int
  2106. _ = l
  2107. if m.HasActivated != 0 {
  2108. dAtA[i] = 0x8
  2109. i++
  2110. i = encodeVarintModel(dAtA, i, uint64(m.HasActivated))
  2111. }
  2112. if m.RedPoint {
  2113. dAtA[i] = 0x10
  2114. i++
  2115. if m.RedPoint {
  2116. dAtA[i] = 1
  2117. } else {
  2118. dAtA[i] = 0
  2119. }
  2120. i++
  2121. }
  2122. if len(m.HasGet) > 0 {
  2123. dAtA6 := make([]byte, len(m.HasGet)*10)
  2124. var j5 int
  2125. for _, num1 := range m.HasGet {
  2126. num := uint64(num1)
  2127. for num >= 1<<7 {
  2128. dAtA6[j5] = uint8(uint64(num)&0x7f | 0x80)
  2129. num >>= 7
  2130. j5++
  2131. }
  2132. dAtA6[j5] = uint8(num)
  2133. j5++
  2134. }
  2135. dAtA[i] = 0x1a
  2136. i++
  2137. i = encodeVarintModel(dAtA, i, uint64(j5))
  2138. i += copy(dAtA[i:], dAtA6[:j5])
  2139. }
  2140. if len(m.List) > 0 {
  2141. for k, _ := range m.List {
  2142. dAtA[i] = 0x22
  2143. i++
  2144. v := m.List[k]
  2145. msgSize := 0
  2146. if v != nil {
  2147. msgSize = v.Size()
  2148. msgSize += 1 + sovModel(uint64(msgSize))
  2149. }
  2150. mapSize := 1 + sovModel(uint64(k)) + msgSize
  2151. i = encodeVarintModel(dAtA, i, uint64(mapSize))
  2152. dAtA[i] = 0x8
  2153. i++
  2154. i = encodeVarintModel(dAtA, i, uint64(k))
  2155. if v != nil {
  2156. dAtA[i] = 0x12
  2157. i++
  2158. i = encodeVarintModel(dAtA, i, uint64(v.Size()))
  2159. n7, err := v.MarshalTo(dAtA[i:])
  2160. if err != nil {
  2161. return 0, err
  2162. }
  2163. i += n7
  2164. }
  2165. }
  2166. }
  2167. return i, nil
  2168. }
  2169. func (m *MedalCategoryInfo) Marshal() (dAtA []byte, err error) {
  2170. size := m.Size()
  2171. dAtA = make([]byte, size)
  2172. n, err := m.MarshalTo(dAtA)
  2173. if err != nil {
  2174. return nil, err
  2175. }
  2176. return dAtA[:n], nil
  2177. }
  2178. func (m *MedalCategoryInfo) MarshalTo(dAtA []byte) (int, error) {
  2179. var i int
  2180. _ = i
  2181. var l int
  2182. _ = l
  2183. if m.Count != 0 {
  2184. dAtA[i] = 0x8
  2185. i++
  2186. i = encodeVarintModel(dAtA, i, uint64(m.Count))
  2187. }
  2188. if len(m.Name) > 0 {
  2189. dAtA[i] = 0x12
  2190. i++
  2191. i = encodeVarintModel(dAtA, i, uint64(len(m.Name)))
  2192. i += copy(dAtA[i:], m.Name)
  2193. }
  2194. if len(m.Data) > 0 {
  2195. for _, msg := range m.Data {
  2196. dAtA[i] = 0x1a
  2197. i++
  2198. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  2199. n, err := msg.MarshalTo(dAtA[i:])
  2200. if err != nil {
  2201. return 0, err
  2202. }
  2203. i += n
  2204. }
  2205. }
  2206. return i, nil
  2207. }
  2208. func (m *MedalItemInfo) Marshal() (dAtA []byte, err error) {
  2209. size := m.Size()
  2210. dAtA = make([]byte, size)
  2211. n, err := m.MarshalTo(dAtA)
  2212. if err != nil {
  2213. return nil, err
  2214. }
  2215. return dAtA[:n], nil
  2216. }
  2217. func (m *MedalItemInfo) MarshalTo(dAtA []byte) (int, error) {
  2218. var i int
  2219. _ = i
  2220. var l int
  2221. _ = l
  2222. if m.Left != nil {
  2223. dAtA[i] = 0xa
  2224. i++
  2225. i = encodeVarintModel(dAtA, i, uint64(m.Left.Size()))
  2226. n8, err := m.Left.MarshalTo(dAtA[i:])
  2227. if err != nil {
  2228. return 0, err
  2229. }
  2230. i += n8
  2231. }
  2232. if m.Count != 0 {
  2233. dAtA[i] = 0x10
  2234. i++
  2235. i = encodeVarintModel(dAtA, i, uint64(m.Count))
  2236. }
  2237. if len(m.Right) > 0 {
  2238. for _, msg := range m.Right {
  2239. dAtA[i] = 0x1a
  2240. i++
  2241. i = encodeVarintModel(dAtA, i, uint64(msg.Size()))
  2242. n, err := msg.MarshalTo(dAtA[i:])
  2243. if err != nil {
  2244. return 0, err
  2245. }
  2246. i += n
  2247. }
  2248. }
  2249. return i, nil
  2250. }
  2251. func (m *PointFlag) Marshal() (dAtA []byte, err error) {
  2252. size := m.Size()
  2253. dAtA = make([]byte, size)
  2254. n, err := m.MarshalTo(dAtA)
  2255. if err != nil {
  2256. return nil, err
  2257. }
  2258. return dAtA[:n], nil
  2259. }
  2260. func (m *PointFlag) MarshalTo(dAtA []byte) (int, error) {
  2261. var i int
  2262. _ = i
  2263. var l int
  2264. _ = l
  2265. if m.Pendant {
  2266. dAtA[i] = 0x8
  2267. i++
  2268. if m.Pendant {
  2269. dAtA[i] = 1
  2270. } else {
  2271. dAtA[i] = 0
  2272. }
  2273. i++
  2274. }
  2275. if m.Medal {
  2276. dAtA[i] = 0x10
  2277. i++
  2278. if m.Medal {
  2279. dAtA[i] = 1
  2280. } else {
  2281. dAtA[i] = 0
  2282. }
  2283. i++
  2284. }
  2285. return i, nil
  2286. }
  2287. func encodeVarintModel(dAtA []byte, offset int, v uint64) int {
  2288. for v >= 1<<7 {
  2289. dAtA[offset] = uint8(v&0x7f | 0x80)
  2290. v >>= 7
  2291. offset++
  2292. }
  2293. dAtA[offset] = uint8(v)
  2294. return offset + 1
  2295. }
  2296. func (m *ArgPendantHistory) Size() (n int) {
  2297. var l int
  2298. _ = l
  2299. if m.Mid != 0 {
  2300. n += 1 + sovModel(uint64(m.Mid))
  2301. }
  2302. if m.SourceType != 0 {
  2303. n += 1 + sovModel(uint64(m.SourceType))
  2304. }
  2305. if m.StartTime != 0 {
  2306. n += 1 + sovModel(uint64(m.StartTime))
  2307. }
  2308. if m.EndTime != 0 {
  2309. n += 1 + sovModel(uint64(m.EndTime))
  2310. }
  2311. if m.Page != 0 {
  2312. n += 1 + sovModel(uint64(m.Page))
  2313. }
  2314. return n
  2315. }
  2316. func (m *ArgOrderHistory) Size() (n int) {
  2317. var l int
  2318. _ = l
  2319. l = len(m.OrderID)
  2320. if l > 0 {
  2321. n += 1 + l + sovModel(uint64(l))
  2322. }
  2323. l = len(m.PayID)
  2324. if l > 0 {
  2325. n += 1 + l + sovModel(uint64(l))
  2326. }
  2327. if m.Mid != 0 {
  2328. n += 1 + sovModel(uint64(m.Mid))
  2329. }
  2330. if m.Pid != 0 {
  2331. n += 1 + sovModel(uint64(m.Pid))
  2332. }
  2333. if m.Status != 0 {
  2334. n += 1 + sovModel(uint64(m.Status))
  2335. }
  2336. if m.PayType != 0 {
  2337. n += 1 + sovModel(uint64(m.PayType))
  2338. }
  2339. if m.StartTime != 0 {
  2340. n += 1 + sovModel(uint64(m.StartTime))
  2341. }
  2342. if m.EndTime != 0 {
  2343. n += 1 + sovModel(uint64(m.EndTime))
  2344. }
  2345. if m.Page != 0 {
  2346. n += 1 + sovModel(uint64(m.Page))
  2347. }
  2348. return n
  2349. }
  2350. func (m *PendantGroupInfo) Size() (n int) {
  2351. var l int
  2352. _ = l
  2353. if m.ID != 0 {
  2354. n += 1 + sovModel(uint64(m.ID))
  2355. }
  2356. l = len(m.Name)
  2357. if l > 0 {
  2358. n += 1 + l + sovModel(uint64(l))
  2359. }
  2360. if m.Rank != 0 {
  2361. n += 1 + sovModel(uint64(m.Rank))
  2362. }
  2363. if m.Status != 0 {
  2364. n += 1 + sovModel(uint64(m.Status))
  2365. }
  2366. l = len(m.Image)
  2367. if l > 0 {
  2368. n += 1 + l + sovModel(uint64(l))
  2369. }
  2370. l = len(m.ImageModel)
  2371. if l > 0 {
  2372. n += 1 + l + sovModel(uint64(l))
  2373. }
  2374. if m.FrequencyLimit != 0 {
  2375. n += 1 + sovModel(uint64(m.FrequencyLimit))
  2376. }
  2377. if m.TimeLimit != 0 {
  2378. n += 1 + sovModel(uint64(m.TimeLimit))
  2379. }
  2380. if m.Number != 0 {
  2381. n += 1 + sovModel(uint64(m.Number))
  2382. }
  2383. if len(m.SubPendant) > 0 {
  2384. for _, e := range m.SubPendant {
  2385. l = e.Size()
  2386. n += 1 + l + sovModel(uint64(l))
  2387. }
  2388. }
  2389. return n
  2390. }
  2391. func (m *PendantGroup) Size() (n int) {
  2392. var l int
  2393. _ = l
  2394. if m.ID != 0 {
  2395. n += 1 + sovModel(uint64(m.ID))
  2396. }
  2397. if m.Gid != 0 {
  2398. n += 1 + sovModel(uint64(m.Gid))
  2399. }
  2400. if m.Pid != 0 {
  2401. n += 1 + sovModel(uint64(m.Pid))
  2402. }
  2403. return n
  2404. }
  2405. func (m *PendantPrice) Size() (n int) {
  2406. var l int
  2407. _ = l
  2408. if m.ID != 0 {
  2409. n += 1 + sovModel(uint64(m.ID))
  2410. }
  2411. if m.Pid != 0 {
  2412. n += 1 + sovModel(uint64(m.Pid))
  2413. }
  2414. if m.Type != 0 {
  2415. n += 1 + sovModel(uint64(m.Type))
  2416. }
  2417. if m.Price != 0 {
  2418. n += 1 + sovModel(uint64(m.Price))
  2419. }
  2420. return n
  2421. }
  2422. func (m *PendantHistory) Size() (n int) {
  2423. var l int
  2424. _ = l
  2425. if m.ID != 0 {
  2426. n += 1 + sovModel(uint64(m.ID))
  2427. }
  2428. if m.Mid != 0 {
  2429. n += 1 + sovModel(uint64(m.Mid))
  2430. }
  2431. if m.Pid != 0 {
  2432. n += 1 + sovModel(uint64(m.Pid))
  2433. }
  2434. if m.SourceType != 0 {
  2435. n += 1 + sovModel(uint64(m.SourceType))
  2436. }
  2437. if m.Expire != 0 {
  2438. n += 1 + sovModel(uint64(m.Expire))
  2439. }
  2440. l = len(m.OperatorName)
  2441. if l > 0 {
  2442. n += 1 + l + sovModel(uint64(l))
  2443. }
  2444. if m.OperatorAction != 0 {
  2445. n += 1 + sovModel(uint64(m.OperatorAction))
  2446. }
  2447. return n
  2448. }
  2449. func (m *PendantOrderInfo) Size() (n int) {
  2450. var l int
  2451. _ = l
  2452. if m.ID != 0 {
  2453. n += 1 + sovModel(uint64(m.ID))
  2454. }
  2455. if m.Mid != 0 {
  2456. n += 1 + sovModel(uint64(m.Mid))
  2457. }
  2458. l = len(m.OrderID)
  2459. if l > 0 {
  2460. n += 1 + l + sovModel(uint64(l))
  2461. }
  2462. l = len(m.PayID)
  2463. if l > 0 {
  2464. n += 1 + l + sovModel(uint64(l))
  2465. }
  2466. if m.PayType != 0 {
  2467. n += 1 + sovModel(uint64(m.PayType))
  2468. }
  2469. if m.PayPrice != 0 {
  2470. n += 9
  2471. }
  2472. if m.AppID != 0 {
  2473. n += 1 + sovModel(uint64(m.AppID))
  2474. }
  2475. if m.Stauts != 0 {
  2476. n += 1 + sovModel(uint64(m.Stauts))
  2477. }
  2478. if m.Pid != 0 {
  2479. n += 1 + sovModel(uint64(m.Pid))
  2480. }
  2481. if m.TimeLength != 0 {
  2482. n += 1 + sovModel(uint64(m.TimeLength))
  2483. }
  2484. l = len(m.Cost)
  2485. if l > 0 {
  2486. n += 1 + l + sovModel(uint64(l))
  2487. }
  2488. if m.BuyTime != 0 {
  2489. n += 1 + sovModel(uint64(m.BuyTime))
  2490. }
  2491. if m.IsCallback != 0 {
  2492. n += 1 + sovModel(uint64(m.IsCallback))
  2493. }
  2494. if m.CallbackTime != 0 {
  2495. n += 1 + sovModel(uint64(m.CallbackTime))
  2496. }
  2497. l = len(m.Image)
  2498. if l > 0 {
  2499. n += 1 + l + sovModel(uint64(l))
  2500. }
  2501. l = len(m.Name)
  2502. if l > 0 {
  2503. n += 2 + l + sovModel(uint64(l))
  2504. }
  2505. return n
  2506. }
  2507. func (m *PayInfo) Size() (n int) {
  2508. var l int
  2509. _ = l
  2510. l = len(m.OrderID)
  2511. if l > 0 {
  2512. n += 1 + l + sovModel(uint64(l))
  2513. }
  2514. l = len(m.OrderNum)
  2515. if l > 0 {
  2516. n += 1 + l + sovModel(uint64(l))
  2517. }
  2518. l = len(m.PayURL)
  2519. if l > 0 {
  2520. n += 1 + l + sovModel(uint64(l))
  2521. }
  2522. return n
  2523. }
  2524. func (m *Pendant) Size() (n int) {
  2525. var l int
  2526. _ = l
  2527. if m.ID != 0 {
  2528. n += 1 + sovModel(uint64(m.ID))
  2529. }
  2530. l = len(m.Name)
  2531. if l > 0 {
  2532. n += 1 + l + sovModel(uint64(l))
  2533. }
  2534. l = len(m.Image)
  2535. if l > 0 {
  2536. n += 1 + l + sovModel(uint64(l))
  2537. }
  2538. l = len(m.ImageModel)
  2539. if l > 0 {
  2540. n += 1 + l + sovModel(uint64(l))
  2541. }
  2542. if m.Status != 0 {
  2543. n += 1 + sovModel(uint64(m.Status))
  2544. }
  2545. if m.Coin != 0 {
  2546. n += 1 + sovModel(uint64(m.Coin))
  2547. }
  2548. if m.Point != 0 {
  2549. n += 1 + sovModel(uint64(m.Point))
  2550. }
  2551. if m.BCoin != 0 {
  2552. n += 1 + sovModel(uint64(m.BCoin))
  2553. }
  2554. if m.Expires != 0 {
  2555. n += 1 + sovModel(uint64(m.Expires))
  2556. }
  2557. if m.Gid != 0 {
  2558. n += 1 + sovModel(uint64(m.Gid))
  2559. }
  2560. if m.Rank != 0 {
  2561. n += 1 + sovModel(uint64(m.Rank))
  2562. }
  2563. return n
  2564. }
  2565. func (m *PendantPackage) Size() (n int) {
  2566. var l int
  2567. _ = l
  2568. if m.ID != 0 {
  2569. n += 1 + sovModel(uint64(m.ID))
  2570. }
  2571. if m.Mid != 0 {
  2572. n += 1 + sovModel(uint64(m.Mid))
  2573. }
  2574. if m.Pid != 0 {
  2575. n += 1 + sovModel(uint64(m.Pid))
  2576. }
  2577. if m.Expires != 0 {
  2578. n += 1 + sovModel(uint64(m.Expires))
  2579. }
  2580. if m.Type != 0 {
  2581. n += 1 + sovModel(uint64(m.Type))
  2582. }
  2583. if m.Status != 0 {
  2584. n += 1 + sovModel(uint64(m.Status))
  2585. }
  2586. if m.IsVIP != 0 {
  2587. n += 1 + sovModel(uint64(m.IsVIP))
  2588. }
  2589. if m.Pendant != nil {
  2590. l = m.Pendant.Size()
  2591. n += 1 + l + sovModel(uint64(l))
  2592. }
  2593. return n
  2594. }
  2595. func (m *PendantEquip) Size() (n int) {
  2596. var l int
  2597. _ = l
  2598. if m.Mid != 0 {
  2599. n += 1 + sovModel(uint64(m.Mid))
  2600. }
  2601. if m.Pid != 0 {
  2602. n += 1 + sovModel(uint64(m.Pid))
  2603. }
  2604. if m.Expires != 0 {
  2605. n += 1 + sovModel(uint64(m.Expires))
  2606. }
  2607. if m.Pendant != nil {
  2608. l = m.Pendant.Size()
  2609. n += 1 + l + sovModel(uint64(l))
  2610. }
  2611. return n
  2612. }
  2613. func (m *GroupPendantList) Size() (n int) {
  2614. var l int
  2615. _ = l
  2616. if m.PkgExpires != 0 {
  2617. n += 1 + sovModel(uint64(m.PkgExpires))
  2618. }
  2619. if m.PkgStatus != 0 {
  2620. n += 1 + sovModel(uint64(m.PkgStatus))
  2621. }
  2622. if m.Pendant != nil {
  2623. l = m.Pendant.Size()
  2624. n += 1 + l + sovModel(uint64(l))
  2625. }
  2626. return n
  2627. }
  2628. func (m *MedalInfo) Size() (n int) {
  2629. var l int
  2630. _ = l
  2631. if m.ID != 0 {
  2632. n += 1 + sovModel(uint64(m.ID))
  2633. }
  2634. l = len(m.Name)
  2635. if l > 0 {
  2636. n += 1 + l + sovModel(uint64(l))
  2637. }
  2638. l = len(m.Description)
  2639. if l > 0 {
  2640. n += 1 + l + sovModel(uint64(l))
  2641. }
  2642. l = len(m.Image)
  2643. if l > 0 {
  2644. n += 1 + l + sovModel(uint64(l))
  2645. }
  2646. l = len(m.ImageSmall)
  2647. if l > 0 {
  2648. n += 1 + l + sovModel(uint64(l))
  2649. }
  2650. l = len(m.Condition)
  2651. if l > 0 {
  2652. n += 1 + l + sovModel(uint64(l))
  2653. }
  2654. if m.GID != 0 {
  2655. n += 1 + sovModel(uint64(m.GID))
  2656. }
  2657. if m.Level != 0 {
  2658. n += 1 + sovModel(uint64(m.Level))
  2659. }
  2660. l = len(m.LevelRank)
  2661. if l > 0 {
  2662. n += 1 + l + sovModel(uint64(l))
  2663. }
  2664. l = len(m.LevelDesc)
  2665. if l > 0 {
  2666. n += 1 + l + sovModel(uint64(l))
  2667. }
  2668. if m.Sort != 0 {
  2669. n += 1 + sovModel(uint64(m.Sort))
  2670. }
  2671. if m.IsOnline != 0 {
  2672. n += 1 + sovModel(uint64(m.IsOnline))
  2673. }
  2674. if m.IsGet != 0 {
  2675. n += 1 + sovModel(uint64(m.IsGet))
  2676. }
  2677. if m.Ctime != 0 {
  2678. n += 1 + sovModel(uint64(m.Ctime))
  2679. }
  2680. if m.Mtime != 0 {
  2681. n += 1 + sovModel(uint64(m.Mtime))
  2682. }
  2683. return n
  2684. }
  2685. func (m *MedalHomeInfo) Size() (n int) {
  2686. var l int
  2687. _ = l
  2688. l = len(m.Description)
  2689. if l > 0 {
  2690. n += 1 + l + sovModel(uint64(l))
  2691. }
  2692. l = len(m.Image)
  2693. if l > 0 {
  2694. n += 1 + l + sovModel(uint64(l))
  2695. }
  2696. l = len(m.ImageSmall)
  2697. if l > 0 {
  2698. n += 1 + l + sovModel(uint64(l))
  2699. }
  2700. if m.IsActivated != 0 {
  2701. n += 1 + sovModel(uint64(m.IsActivated))
  2702. }
  2703. l = len(m.Level)
  2704. if l > 0 {
  2705. n += 1 + l + sovModel(uint64(l))
  2706. }
  2707. l = len(m.Name)
  2708. if l > 0 {
  2709. n += 1 + l + sovModel(uint64(l))
  2710. }
  2711. if m.NID != 0 {
  2712. n += 1 + sovModel(uint64(m.NID))
  2713. }
  2714. return n
  2715. }
  2716. func (m *MedalUserInfo) Size() (n int) {
  2717. var l int
  2718. _ = l
  2719. l = len(m.Name)
  2720. if l > 0 {
  2721. n += 1 + l + sovModel(uint64(l))
  2722. }
  2723. l = len(m.Face)
  2724. if l > 0 {
  2725. n += 1 + l + sovModel(uint64(l))
  2726. }
  2727. if m.Level != 0 {
  2728. n += 1 + sovModel(uint64(m.Level))
  2729. }
  2730. if m.TrueLove {
  2731. n += 2
  2732. }
  2733. if m.NID != 0 {
  2734. n += 1 + sovModel(uint64(m.NID))
  2735. }
  2736. l = len(m.ImageSmall)
  2737. if l > 0 {
  2738. n += 1 + l + sovModel(uint64(l))
  2739. }
  2740. return n
  2741. }
  2742. func (m *MedalPopup) Size() (n int) {
  2743. var l int
  2744. _ = l
  2745. if m.NID != 0 {
  2746. n += 1 + sovModel(uint64(m.NID))
  2747. }
  2748. l = len(m.Name)
  2749. if l > 0 {
  2750. n += 1 + l + sovModel(uint64(l))
  2751. }
  2752. l = len(m.Image)
  2753. if l > 0 {
  2754. n += 1 + l + sovModel(uint64(l))
  2755. }
  2756. return n
  2757. }
  2758. func (m *MedalMyInfo) Size() (n int) {
  2759. var l int
  2760. _ = l
  2761. if m.MedalInfo != nil {
  2762. l = m.MedalInfo.Size()
  2763. n += 1 + l + sovModel(uint64(l))
  2764. }
  2765. if m.IsActivated != 0 {
  2766. n += 1 + sovModel(uint64(m.IsActivated))
  2767. }
  2768. if m.IsNewGet != 0 {
  2769. n += 1 + sovModel(uint64(m.IsNewGet))
  2770. }
  2771. if m.GetTime != 0 {
  2772. n += 1 + sovModel(uint64(m.GetTime))
  2773. }
  2774. return n
  2775. }
  2776. func (m *MedalMyInfos) Size() (n int) {
  2777. var l int
  2778. _ = l
  2779. if m.Count != 0 {
  2780. n += 1 + sovModel(uint64(m.Count))
  2781. }
  2782. l = len(m.Name)
  2783. if l > 0 {
  2784. n += 1 + l + sovModel(uint64(l))
  2785. }
  2786. if len(m.List) > 0 {
  2787. for _, e := range m.List {
  2788. l = e.Size()
  2789. n += 1 + l + sovModel(uint64(l))
  2790. }
  2791. }
  2792. return n
  2793. }
  2794. func (m *MedalAllInfos) Size() (n int) {
  2795. var l int
  2796. _ = l
  2797. if m.HasActivated != 0 {
  2798. n += 1 + sovModel(uint64(m.HasActivated))
  2799. }
  2800. if m.RedPoint {
  2801. n += 2
  2802. }
  2803. if len(m.HasGet) > 0 {
  2804. l = 0
  2805. for _, e := range m.HasGet {
  2806. l += sovModel(uint64(e))
  2807. }
  2808. n += 1 + sovModel(uint64(l)) + l
  2809. }
  2810. if len(m.List) > 0 {
  2811. for k, v := range m.List {
  2812. _ = k
  2813. _ = v
  2814. l = 0
  2815. if v != nil {
  2816. l = v.Size()
  2817. l += 1 + sovModel(uint64(l))
  2818. }
  2819. mapEntrySize := 1 + sovModel(uint64(k)) + l
  2820. n += mapEntrySize + 1 + sovModel(uint64(mapEntrySize))
  2821. }
  2822. }
  2823. return n
  2824. }
  2825. func (m *MedalCategoryInfo) Size() (n int) {
  2826. var l int
  2827. _ = l
  2828. if m.Count != 0 {
  2829. n += 1 + sovModel(uint64(m.Count))
  2830. }
  2831. l = len(m.Name)
  2832. if l > 0 {
  2833. n += 1 + l + sovModel(uint64(l))
  2834. }
  2835. if len(m.Data) > 0 {
  2836. for _, e := range m.Data {
  2837. l = e.Size()
  2838. n += 1 + l + sovModel(uint64(l))
  2839. }
  2840. }
  2841. return n
  2842. }
  2843. func (m *MedalItemInfo) Size() (n int) {
  2844. var l int
  2845. _ = l
  2846. if m.Left != nil {
  2847. l = m.Left.Size()
  2848. n += 1 + l + sovModel(uint64(l))
  2849. }
  2850. if m.Count != 0 {
  2851. n += 1 + sovModel(uint64(m.Count))
  2852. }
  2853. if len(m.Right) > 0 {
  2854. for _, e := range m.Right {
  2855. l = e.Size()
  2856. n += 1 + l + sovModel(uint64(l))
  2857. }
  2858. }
  2859. return n
  2860. }
  2861. func (m *PointFlag) Size() (n int) {
  2862. var l int
  2863. _ = l
  2864. if m.Pendant {
  2865. n += 2
  2866. }
  2867. if m.Medal {
  2868. n += 2
  2869. }
  2870. return n
  2871. }
  2872. func sovModel(x uint64) (n int) {
  2873. for {
  2874. n++
  2875. x >>= 7
  2876. if x == 0 {
  2877. break
  2878. }
  2879. }
  2880. return n
  2881. }
  2882. func sozModel(x uint64) (n int) {
  2883. return sovModel(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  2884. }
  2885. func (m *ArgPendantHistory) Unmarshal(dAtA []byte) error {
  2886. l := len(dAtA)
  2887. iNdEx := 0
  2888. for iNdEx < l {
  2889. preIndex := iNdEx
  2890. var wire uint64
  2891. for shift := uint(0); ; shift += 7 {
  2892. if shift >= 64 {
  2893. return ErrIntOverflowModel
  2894. }
  2895. if iNdEx >= l {
  2896. return io.ErrUnexpectedEOF
  2897. }
  2898. b := dAtA[iNdEx]
  2899. iNdEx++
  2900. wire |= (uint64(b) & 0x7F) << shift
  2901. if b < 0x80 {
  2902. break
  2903. }
  2904. }
  2905. fieldNum := int32(wire >> 3)
  2906. wireType := int(wire & 0x7)
  2907. if wireType == 4 {
  2908. return fmt.Errorf("proto: ArgPendantHistory: wiretype end group for non-group")
  2909. }
  2910. if fieldNum <= 0 {
  2911. return fmt.Errorf("proto: ArgPendantHistory: illegal tag %d (wire type %d)", fieldNum, wire)
  2912. }
  2913. switch fieldNum {
  2914. case 1:
  2915. if wireType != 0 {
  2916. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  2917. }
  2918. m.Mid = 0
  2919. for shift := uint(0); ; shift += 7 {
  2920. if shift >= 64 {
  2921. return ErrIntOverflowModel
  2922. }
  2923. if iNdEx >= l {
  2924. return io.ErrUnexpectedEOF
  2925. }
  2926. b := dAtA[iNdEx]
  2927. iNdEx++
  2928. m.Mid |= (int64(b) & 0x7F) << shift
  2929. if b < 0x80 {
  2930. break
  2931. }
  2932. }
  2933. case 2:
  2934. if wireType != 0 {
  2935. return fmt.Errorf("proto: wrong wireType = %d for field SourceType", wireType)
  2936. }
  2937. m.SourceType = 0
  2938. for shift := uint(0); ; shift += 7 {
  2939. if shift >= 64 {
  2940. return ErrIntOverflowModel
  2941. }
  2942. if iNdEx >= l {
  2943. return io.ErrUnexpectedEOF
  2944. }
  2945. b := dAtA[iNdEx]
  2946. iNdEx++
  2947. m.SourceType |= (int32(b) & 0x7F) << shift
  2948. if b < 0x80 {
  2949. break
  2950. }
  2951. }
  2952. case 3:
  2953. if wireType != 0 {
  2954. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  2955. }
  2956. m.StartTime = 0
  2957. for shift := uint(0); ; shift += 7 {
  2958. if shift >= 64 {
  2959. return ErrIntOverflowModel
  2960. }
  2961. if iNdEx >= l {
  2962. return io.ErrUnexpectedEOF
  2963. }
  2964. b := dAtA[iNdEx]
  2965. iNdEx++
  2966. m.StartTime |= (int64(b) & 0x7F) << shift
  2967. if b < 0x80 {
  2968. break
  2969. }
  2970. }
  2971. case 4:
  2972. if wireType != 0 {
  2973. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  2974. }
  2975. m.EndTime = 0
  2976. for shift := uint(0); ; shift += 7 {
  2977. if shift >= 64 {
  2978. return ErrIntOverflowModel
  2979. }
  2980. if iNdEx >= l {
  2981. return io.ErrUnexpectedEOF
  2982. }
  2983. b := dAtA[iNdEx]
  2984. iNdEx++
  2985. m.EndTime |= (int64(b) & 0x7F) << shift
  2986. if b < 0x80 {
  2987. break
  2988. }
  2989. }
  2990. case 5:
  2991. if wireType != 0 {
  2992. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  2993. }
  2994. m.Page = 0
  2995. for shift := uint(0); ; shift += 7 {
  2996. if shift >= 64 {
  2997. return ErrIntOverflowModel
  2998. }
  2999. if iNdEx >= l {
  3000. return io.ErrUnexpectedEOF
  3001. }
  3002. b := dAtA[iNdEx]
  3003. iNdEx++
  3004. m.Page |= (int64(b) & 0x7F) << shift
  3005. if b < 0x80 {
  3006. break
  3007. }
  3008. }
  3009. default:
  3010. iNdEx = preIndex
  3011. skippy, err := skipModel(dAtA[iNdEx:])
  3012. if err != nil {
  3013. return err
  3014. }
  3015. if skippy < 0 {
  3016. return ErrInvalidLengthModel
  3017. }
  3018. if (iNdEx + skippy) > l {
  3019. return io.ErrUnexpectedEOF
  3020. }
  3021. iNdEx += skippy
  3022. }
  3023. }
  3024. if iNdEx > l {
  3025. return io.ErrUnexpectedEOF
  3026. }
  3027. return nil
  3028. }
  3029. func (m *ArgOrderHistory) Unmarshal(dAtA []byte) error {
  3030. l := len(dAtA)
  3031. iNdEx := 0
  3032. for iNdEx < l {
  3033. preIndex := iNdEx
  3034. var wire uint64
  3035. for shift := uint(0); ; shift += 7 {
  3036. if shift >= 64 {
  3037. return ErrIntOverflowModel
  3038. }
  3039. if iNdEx >= l {
  3040. return io.ErrUnexpectedEOF
  3041. }
  3042. b := dAtA[iNdEx]
  3043. iNdEx++
  3044. wire |= (uint64(b) & 0x7F) << shift
  3045. if b < 0x80 {
  3046. break
  3047. }
  3048. }
  3049. fieldNum := int32(wire >> 3)
  3050. wireType := int(wire & 0x7)
  3051. if wireType == 4 {
  3052. return fmt.Errorf("proto: ArgOrderHistory: wiretype end group for non-group")
  3053. }
  3054. if fieldNum <= 0 {
  3055. return fmt.Errorf("proto: ArgOrderHistory: illegal tag %d (wire type %d)", fieldNum, wire)
  3056. }
  3057. switch fieldNum {
  3058. case 1:
  3059. if wireType != 2 {
  3060. return fmt.Errorf("proto: wrong wireType = %d for field OrderID", wireType)
  3061. }
  3062. var stringLen uint64
  3063. for shift := uint(0); ; shift += 7 {
  3064. if shift >= 64 {
  3065. return ErrIntOverflowModel
  3066. }
  3067. if iNdEx >= l {
  3068. return io.ErrUnexpectedEOF
  3069. }
  3070. b := dAtA[iNdEx]
  3071. iNdEx++
  3072. stringLen |= (uint64(b) & 0x7F) << shift
  3073. if b < 0x80 {
  3074. break
  3075. }
  3076. }
  3077. intStringLen := int(stringLen)
  3078. if intStringLen < 0 {
  3079. return ErrInvalidLengthModel
  3080. }
  3081. postIndex := iNdEx + intStringLen
  3082. if postIndex > l {
  3083. return io.ErrUnexpectedEOF
  3084. }
  3085. m.OrderID = string(dAtA[iNdEx:postIndex])
  3086. iNdEx = postIndex
  3087. case 2:
  3088. if wireType != 2 {
  3089. return fmt.Errorf("proto: wrong wireType = %d for field PayID", wireType)
  3090. }
  3091. var stringLen uint64
  3092. for shift := uint(0); ; shift += 7 {
  3093. if shift >= 64 {
  3094. return ErrIntOverflowModel
  3095. }
  3096. if iNdEx >= l {
  3097. return io.ErrUnexpectedEOF
  3098. }
  3099. b := dAtA[iNdEx]
  3100. iNdEx++
  3101. stringLen |= (uint64(b) & 0x7F) << shift
  3102. if b < 0x80 {
  3103. break
  3104. }
  3105. }
  3106. intStringLen := int(stringLen)
  3107. if intStringLen < 0 {
  3108. return ErrInvalidLengthModel
  3109. }
  3110. postIndex := iNdEx + intStringLen
  3111. if postIndex > l {
  3112. return io.ErrUnexpectedEOF
  3113. }
  3114. m.PayID = string(dAtA[iNdEx:postIndex])
  3115. iNdEx = postIndex
  3116. case 3:
  3117. if wireType != 0 {
  3118. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  3119. }
  3120. m.Mid = 0
  3121. for shift := uint(0); ; shift += 7 {
  3122. if shift >= 64 {
  3123. return ErrIntOverflowModel
  3124. }
  3125. if iNdEx >= l {
  3126. return io.ErrUnexpectedEOF
  3127. }
  3128. b := dAtA[iNdEx]
  3129. iNdEx++
  3130. m.Mid |= (int64(b) & 0x7F) << shift
  3131. if b < 0x80 {
  3132. break
  3133. }
  3134. }
  3135. case 4:
  3136. if wireType != 0 {
  3137. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  3138. }
  3139. m.Pid = 0
  3140. for shift := uint(0); ; shift += 7 {
  3141. if shift >= 64 {
  3142. return ErrIntOverflowModel
  3143. }
  3144. if iNdEx >= l {
  3145. return io.ErrUnexpectedEOF
  3146. }
  3147. b := dAtA[iNdEx]
  3148. iNdEx++
  3149. m.Pid |= (int64(b) & 0x7F) << shift
  3150. if b < 0x80 {
  3151. break
  3152. }
  3153. }
  3154. case 5:
  3155. if wireType != 0 {
  3156. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3157. }
  3158. m.Status = 0
  3159. for shift := uint(0); ; shift += 7 {
  3160. if shift >= 64 {
  3161. return ErrIntOverflowModel
  3162. }
  3163. if iNdEx >= l {
  3164. return io.ErrUnexpectedEOF
  3165. }
  3166. b := dAtA[iNdEx]
  3167. iNdEx++
  3168. m.Status |= (int32(b) & 0x7F) << shift
  3169. if b < 0x80 {
  3170. break
  3171. }
  3172. }
  3173. case 6:
  3174. if wireType != 0 {
  3175. return fmt.Errorf("proto: wrong wireType = %d for field PayType", wireType)
  3176. }
  3177. m.PayType = 0
  3178. for shift := uint(0); ; shift += 7 {
  3179. if shift >= 64 {
  3180. return ErrIntOverflowModel
  3181. }
  3182. if iNdEx >= l {
  3183. return io.ErrUnexpectedEOF
  3184. }
  3185. b := dAtA[iNdEx]
  3186. iNdEx++
  3187. m.PayType |= (int32(b) & 0x7F) << shift
  3188. if b < 0x80 {
  3189. break
  3190. }
  3191. }
  3192. case 7:
  3193. if wireType != 0 {
  3194. return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType)
  3195. }
  3196. m.StartTime = 0
  3197. for shift := uint(0); ; shift += 7 {
  3198. if shift >= 64 {
  3199. return ErrIntOverflowModel
  3200. }
  3201. if iNdEx >= l {
  3202. return io.ErrUnexpectedEOF
  3203. }
  3204. b := dAtA[iNdEx]
  3205. iNdEx++
  3206. m.StartTime |= (int64(b) & 0x7F) << shift
  3207. if b < 0x80 {
  3208. break
  3209. }
  3210. }
  3211. case 8:
  3212. if wireType != 0 {
  3213. return fmt.Errorf("proto: wrong wireType = %d for field EndTime", wireType)
  3214. }
  3215. m.EndTime = 0
  3216. for shift := uint(0); ; shift += 7 {
  3217. if shift >= 64 {
  3218. return ErrIntOverflowModel
  3219. }
  3220. if iNdEx >= l {
  3221. return io.ErrUnexpectedEOF
  3222. }
  3223. b := dAtA[iNdEx]
  3224. iNdEx++
  3225. m.EndTime |= (int64(b) & 0x7F) << shift
  3226. if b < 0x80 {
  3227. break
  3228. }
  3229. }
  3230. case 9:
  3231. if wireType != 0 {
  3232. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  3233. }
  3234. m.Page = 0
  3235. for shift := uint(0); ; shift += 7 {
  3236. if shift >= 64 {
  3237. return ErrIntOverflowModel
  3238. }
  3239. if iNdEx >= l {
  3240. return io.ErrUnexpectedEOF
  3241. }
  3242. b := dAtA[iNdEx]
  3243. iNdEx++
  3244. m.Page |= (int64(b) & 0x7F) << shift
  3245. if b < 0x80 {
  3246. break
  3247. }
  3248. }
  3249. default:
  3250. iNdEx = preIndex
  3251. skippy, err := skipModel(dAtA[iNdEx:])
  3252. if err != nil {
  3253. return err
  3254. }
  3255. if skippy < 0 {
  3256. return ErrInvalidLengthModel
  3257. }
  3258. if (iNdEx + skippy) > l {
  3259. return io.ErrUnexpectedEOF
  3260. }
  3261. iNdEx += skippy
  3262. }
  3263. }
  3264. if iNdEx > l {
  3265. return io.ErrUnexpectedEOF
  3266. }
  3267. return nil
  3268. }
  3269. func (m *PendantGroupInfo) Unmarshal(dAtA []byte) error {
  3270. l := len(dAtA)
  3271. iNdEx := 0
  3272. for iNdEx < l {
  3273. preIndex := iNdEx
  3274. var wire uint64
  3275. for shift := uint(0); ; shift += 7 {
  3276. if shift >= 64 {
  3277. return ErrIntOverflowModel
  3278. }
  3279. if iNdEx >= l {
  3280. return io.ErrUnexpectedEOF
  3281. }
  3282. b := dAtA[iNdEx]
  3283. iNdEx++
  3284. wire |= (uint64(b) & 0x7F) << shift
  3285. if b < 0x80 {
  3286. break
  3287. }
  3288. }
  3289. fieldNum := int32(wire >> 3)
  3290. wireType := int(wire & 0x7)
  3291. if wireType == 4 {
  3292. return fmt.Errorf("proto: PendantGroupInfo: wiretype end group for non-group")
  3293. }
  3294. if fieldNum <= 0 {
  3295. return fmt.Errorf("proto: PendantGroupInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  3296. }
  3297. switch fieldNum {
  3298. case 1:
  3299. if wireType != 0 {
  3300. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3301. }
  3302. m.ID = 0
  3303. for shift := uint(0); ; shift += 7 {
  3304. if shift >= 64 {
  3305. return ErrIntOverflowModel
  3306. }
  3307. if iNdEx >= l {
  3308. return io.ErrUnexpectedEOF
  3309. }
  3310. b := dAtA[iNdEx]
  3311. iNdEx++
  3312. m.ID |= (int64(b) & 0x7F) << shift
  3313. if b < 0x80 {
  3314. break
  3315. }
  3316. }
  3317. case 2:
  3318. if wireType != 2 {
  3319. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  3320. }
  3321. var stringLen uint64
  3322. for shift := uint(0); ; shift += 7 {
  3323. if shift >= 64 {
  3324. return ErrIntOverflowModel
  3325. }
  3326. if iNdEx >= l {
  3327. return io.ErrUnexpectedEOF
  3328. }
  3329. b := dAtA[iNdEx]
  3330. iNdEx++
  3331. stringLen |= (uint64(b) & 0x7F) << shift
  3332. if b < 0x80 {
  3333. break
  3334. }
  3335. }
  3336. intStringLen := int(stringLen)
  3337. if intStringLen < 0 {
  3338. return ErrInvalidLengthModel
  3339. }
  3340. postIndex := iNdEx + intStringLen
  3341. if postIndex > l {
  3342. return io.ErrUnexpectedEOF
  3343. }
  3344. m.Name = string(dAtA[iNdEx:postIndex])
  3345. iNdEx = postIndex
  3346. case 3:
  3347. if wireType != 0 {
  3348. return fmt.Errorf("proto: wrong wireType = %d for field Rank", wireType)
  3349. }
  3350. m.Rank = 0
  3351. for shift := uint(0); ; shift += 7 {
  3352. if shift >= 64 {
  3353. return ErrIntOverflowModel
  3354. }
  3355. if iNdEx >= l {
  3356. return io.ErrUnexpectedEOF
  3357. }
  3358. b := dAtA[iNdEx]
  3359. iNdEx++
  3360. m.Rank |= (int32(b) & 0x7F) << shift
  3361. if b < 0x80 {
  3362. break
  3363. }
  3364. }
  3365. case 4:
  3366. if wireType != 0 {
  3367. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  3368. }
  3369. m.Status = 0
  3370. for shift := uint(0); ; shift += 7 {
  3371. if shift >= 64 {
  3372. return ErrIntOverflowModel
  3373. }
  3374. if iNdEx >= l {
  3375. return io.ErrUnexpectedEOF
  3376. }
  3377. b := dAtA[iNdEx]
  3378. iNdEx++
  3379. m.Status |= (int32(b) & 0x7F) << shift
  3380. if b < 0x80 {
  3381. break
  3382. }
  3383. }
  3384. case 5:
  3385. if wireType != 2 {
  3386. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  3387. }
  3388. var stringLen uint64
  3389. for shift := uint(0); ; shift += 7 {
  3390. if shift >= 64 {
  3391. return ErrIntOverflowModel
  3392. }
  3393. if iNdEx >= l {
  3394. return io.ErrUnexpectedEOF
  3395. }
  3396. b := dAtA[iNdEx]
  3397. iNdEx++
  3398. stringLen |= (uint64(b) & 0x7F) << shift
  3399. if b < 0x80 {
  3400. break
  3401. }
  3402. }
  3403. intStringLen := int(stringLen)
  3404. if intStringLen < 0 {
  3405. return ErrInvalidLengthModel
  3406. }
  3407. postIndex := iNdEx + intStringLen
  3408. if postIndex > l {
  3409. return io.ErrUnexpectedEOF
  3410. }
  3411. m.Image = string(dAtA[iNdEx:postIndex])
  3412. iNdEx = postIndex
  3413. case 6:
  3414. if wireType != 2 {
  3415. return fmt.Errorf("proto: wrong wireType = %d for field ImageModel", wireType)
  3416. }
  3417. var stringLen uint64
  3418. for shift := uint(0); ; shift += 7 {
  3419. if shift >= 64 {
  3420. return ErrIntOverflowModel
  3421. }
  3422. if iNdEx >= l {
  3423. return io.ErrUnexpectedEOF
  3424. }
  3425. b := dAtA[iNdEx]
  3426. iNdEx++
  3427. stringLen |= (uint64(b) & 0x7F) << shift
  3428. if b < 0x80 {
  3429. break
  3430. }
  3431. }
  3432. intStringLen := int(stringLen)
  3433. if intStringLen < 0 {
  3434. return ErrInvalidLengthModel
  3435. }
  3436. postIndex := iNdEx + intStringLen
  3437. if postIndex > l {
  3438. return io.ErrUnexpectedEOF
  3439. }
  3440. m.ImageModel = string(dAtA[iNdEx:postIndex])
  3441. iNdEx = postIndex
  3442. case 7:
  3443. if wireType != 0 {
  3444. return fmt.Errorf("proto: wrong wireType = %d for field FrequencyLimit", wireType)
  3445. }
  3446. m.FrequencyLimit = 0
  3447. for shift := uint(0); ; shift += 7 {
  3448. if shift >= 64 {
  3449. return ErrIntOverflowModel
  3450. }
  3451. if iNdEx >= l {
  3452. return io.ErrUnexpectedEOF
  3453. }
  3454. b := dAtA[iNdEx]
  3455. iNdEx++
  3456. m.FrequencyLimit |= (int32(b) & 0x7F) << shift
  3457. if b < 0x80 {
  3458. break
  3459. }
  3460. }
  3461. case 8:
  3462. if wireType != 0 {
  3463. return fmt.Errorf("proto: wrong wireType = %d for field TimeLimit", wireType)
  3464. }
  3465. m.TimeLimit = 0
  3466. for shift := uint(0); ; shift += 7 {
  3467. if shift >= 64 {
  3468. return ErrIntOverflowModel
  3469. }
  3470. if iNdEx >= l {
  3471. return io.ErrUnexpectedEOF
  3472. }
  3473. b := dAtA[iNdEx]
  3474. iNdEx++
  3475. m.TimeLimit |= (int32(b) & 0x7F) << shift
  3476. if b < 0x80 {
  3477. break
  3478. }
  3479. }
  3480. case 9:
  3481. if wireType != 0 {
  3482. return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType)
  3483. }
  3484. m.Number = 0
  3485. for shift := uint(0); ; shift += 7 {
  3486. if shift >= 64 {
  3487. return ErrIntOverflowModel
  3488. }
  3489. if iNdEx >= l {
  3490. return io.ErrUnexpectedEOF
  3491. }
  3492. b := dAtA[iNdEx]
  3493. iNdEx++
  3494. m.Number |= (int64(b) & 0x7F) << shift
  3495. if b < 0x80 {
  3496. break
  3497. }
  3498. }
  3499. case 10:
  3500. if wireType != 2 {
  3501. return fmt.Errorf("proto: wrong wireType = %d for field SubPendant", wireType)
  3502. }
  3503. var msglen int
  3504. for shift := uint(0); ; shift += 7 {
  3505. if shift >= 64 {
  3506. return ErrIntOverflowModel
  3507. }
  3508. if iNdEx >= l {
  3509. return io.ErrUnexpectedEOF
  3510. }
  3511. b := dAtA[iNdEx]
  3512. iNdEx++
  3513. msglen |= (int(b) & 0x7F) << shift
  3514. if b < 0x80 {
  3515. break
  3516. }
  3517. }
  3518. if msglen < 0 {
  3519. return ErrInvalidLengthModel
  3520. }
  3521. postIndex := iNdEx + msglen
  3522. if postIndex > l {
  3523. return io.ErrUnexpectedEOF
  3524. }
  3525. m.SubPendant = append(m.SubPendant, &Pendant{})
  3526. if err := m.SubPendant[len(m.SubPendant)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3527. return err
  3528. }
  3529. iNdEx = postIndex
  3530. default:
  3531. iNdEx = preIndex
  3532. skippy, err := skipModel(dAtA[iNdEx:])
  3533. if err != nil {
  3534. return err
  3535. }
  3536. if skippy < 0 {
  3537. return ErrInvalidLengthModel
  3538. }
  3539. if (iNdEx + skippy) > l {
  3540. return io.ErrUnexpectedEOF
  3541. }
  3542. iNdEx += skippy
  3543. }
  3544. }
  3545. if iNdEx > l {
  3546. return io.ErrUnexpectedEOF
  3547. }
  3548. return nil
  3549. }
  3550. func (m *PendantGroup) Unmarshal(dAtA []byte) error {
  3551. l := len(dAtA)
  3552. iNdEx := 0
  3553. for iNdEx < l {
  3554. preIndex := iNdEx
  3555. var wire uint64
  3556. for shift := uint(0); ; shift += 7 {
  3557. if shift >= 64 {
  3558. return ErrIntOverflowModel
  3559. }
  3560. if iNdEx >= l {
  3561. return io.ErrUnexpectedEOF
  3562. }
  3563. b := dAtA[iNdEx]
  3564. iNdEx++
  3565. wire |= (uint64(b) & 0x7F) << shift
  3566. if b < 0x80 {
  3567. break
  3568. }
  3569. }
  3570. fieldNum := int32(wire >> 3)
  3571. wireType := int(wire & 0x7)
  3572. if wireType == 4 {
  3573. return fmt.Errorf("proto: PendantGroup: wiretype end group for non-group")
  3574. }
  3575. if fieldNum <= 0 {
  3576. return fmt.Errorf("proto: PendantGroup: illegal tag %d (wire type %d)", fieldNum, wire)
  3577. }
  3578. switch fieldNum {
  3579. case 1:
  3580. if wireType != 0 {
  3581. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3582. }
  3583. m.ID = 0
  3584. for shift := uint(0); ; shift += 7 {
  3585. if shift >= 64 {
  3586. return ErrIntOverflowModel
  3587. }
  3588. if iNdEx >= l {
  3589. return io.ErrUnexpectedEOF
  3590. }
  3591. b := dAtA[iNdEx]
  3592. iNdEx++
  3593. m.ID |= (int64(b) & 0x7F) << shift
  3594. if b < 0x80 {
  3595. break
  3596. }
  3597. }
  3598. case 2:
  3599. if wireType != 0 {
  3600. return fmt.Errorf("proto: wrong wireType = %d for field Gid", wireType)
  3601. }
  3602. m.Gid = 0
  3603. for shift := uint(0); ; shift += 7 {
  3604. if shift >= 64 {
  3605. return ErrIntOverflowModel
  3606. }
  3607. if iNdEx >= l {
  3608. return io.ErrUnexpectedEOF
  3609. }
  3610. b := dAtA[iNdEx]
  3611. iNdEx++
  3612. m.Gid |= (int64(b) & 0x7F) << shift
  3613. if b < 0x80 {
  3614. break
  3615. }
  3616. }
  3617. case 3:
  3618. if wireType != 0 {
  3619. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  3620. }
  3621. m.Pid = 0
  3622. for shift := uint(0); ; shift += 7 {
  3623. if shift >= 64 {
  3624. return ErrIntOverflowModel
  3625. }
  3626. if iNdEx >= l {
  3627. return io.ErrUnexpectedEOF
  3628. }
  3629. b := dAtA[iNdEx]
  3630. iNdEx++
  3631. m.Pid |= (int64(b) & 0x7F) << shift
  3632. if b < 0x80 {
  3633. break
  3634. }
  3635. }
  3636. default:
  3637. iNdEx = preIndex
  3638. skippy, err := skipModel(dAtA[iNdEx:])
  3639. if err != nil {
  3640. return err
  3641. }
  3642. if skippy < 0 {
  3643. return ErrInvalidLengthModel
  3644. }
  3645. if (iNdEx + skippy) > l {
  3646. return io.ErrUnexpectedEOF
  3647. }
  3648. iNdEx += skippy
  3649. }
  3650. }
  3651. if iNdEx > l {
  3652. return io.ErrUnexpectedEOF
  3653. }
  3654. return nil
  3655. }
  3656. func (m *PendantPrice) Unmarshal(dAtA []byte) error {
  3657. l := len(dAtA)
  3658. iNdEx := 0
  3659. for iNdEx < l {
  3660. preIndex := iNdEx
  3661. var wire uint64
  3662. for shift := uint(0); ; shift += 7 {
  3663. if shift >= 64 {
  3664. return ErrIntOverflowModel
  3665. }
  3666. if iNdEx >= l {
  3667. return io.ErrUnexpectedEOF
  3668. }
  3669. b := dAtA[iNdEx]
  3670. iNdEx++
  3671. wire |= (uint64(b) & 0x7F) << shift
  3672. if b < 0x80 {
  3673. break
  3674. }
  3675. }
  3676. fieldNum := int32(wire >> 3)
  3677. wireType := int(wire & 0x7)
  3678. if wireType == 4 {
  3679. return fmt.Errorf("proto: PendantPrice: wiretype end group for non-group")
  3680. }
  3681. if fieldNum <= 0 {
  3682. return fmt.Errorf("proto: PendantPrice: illegal tag %d (wire type %d)", fieldNum, wire)
  3683. }
  3684. switch fieldNum {
  3685. case 1:
  3686. if wireType != 0 {
  3687. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3688. }
  3689. m.ID = 0
  3690. for shift := uint(0); ; shift += 7 {
  3691. if shift >= 64 {
  3692. return ErrIntOverflowModel
  3693. }
  3694. if iNdEx >= l {
  3695. return io.ErrUnexpectedEOF
  3696. }
  3697. b := dAtA[iNdEx]
  3698. iNdEx++
  3699. m.ID |= (int64(b) & 0x7F) << shift
  3700. if b < 0x80 {
  3701. break
  3702. }
  3703. }
  3704. case 2:
  3705. if wireType != 0 {
  3706. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  3707. }
  3708. m.Pid = 0
  3709. for shift := uint(0); ; shift += 7 {
  3710. if shift >= 64 {
  3711. return ErrIntOverflowModel
  3712. }
  3713. if iNdEx >= l {
  3714. return io.ErrUnexpectedEOF
  3715. }
  3716. b := dAtA[iNdEx]
  3717. iNdEx++
  3718. m.Pid |= (int64(b) & 0x7F) << shift
  3719. if b < 0x80 {
  3720. break
  3721. }
  3722. }
  3723. case 3:
  3724. if wireType != 0 {
  3725. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  3726. }
  3727. m.Type = 0
  3728. for shift := uint(0); ; shift += 7 {
  3729. if shift >= 64 {
  3730. return ErrIntOverflowModel
  3731. }
  3732. if iNdEx >= l {
  3733. return io.ErrUnexpectedEOF
  3734. }
  3735. b := dAtA[iNdEx]
  3736. iNdEx++
  3737. m.Type |= (int64(b) & 0x7F) << shift
  3738. if b < 0x80 {
  3739. break
  3740. }
  3741. }
  3742. case 4:
  3743. if wireType != 0 {
  3744. return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
  3745. }
  3746. m.Price = 0
  3747. for shift := uint(0); ; shift += 7 {
  3748. if shift >= 64 {
  3749. return ErrIntOverflowModel
  3750. }
  3751. if iNdEx >= l {
  3752. return io.ErrUnexpectedEOF
  3753. }
  3754. b := dAtA[iNdEx]
  3755. iNdEx++
  3756. m.Price |= (int64(b) & 0x7F) << shift
  3757. if b < 0x80 {
  3758. break
  3759. }
  3760. }
  3761. default:
  3762. iNdEx = preIndex
  3763. skippy, err := skipModel(dAtA[iNdEx:])
  3764. if err != nil {
  3765. return err
  3766. }
  3767. if skippy < 0 {
  3768. return ErrInvalidLengthModel
  3769. }
  3770. if (iNdEx + skippy) > l {
  3771. return io.ErrUnexpectedEOF
  3772. }
  3773. iNdEx += skippy
  3774. }
  3775. }
  3776. if iNdEx > l {
  3777. return io.ErrUnexpectedEOF
  3778. }
  3779. return nil
  3780. }
  3781. func (m *PendantHistory) Unmarshal(dAtA []byte) error {
  3782. l := len(dAtA)
  3783. iNdEx := 0
  3784. for iNdEx < l {
  3785. preIndex := iNdEx
  3786. var wire uint64
  3787. for shift := uint(0); ; shift += 7 {
  3788. if shift >= 64 {
  3789. return ErrIntOverflowModel
  3790. }
  3791. if iNdEx >= l {
  3792. return io.ErrUnexpectedEOF
  3793. }
  3794. b := dAtA[iNdEx]
  3795. iNdEx++
  3796. wire |= (uint64(b) & 0x7F) << shift
  3797. if b < 0x80 {
  3798. break
  3799. }
  3800. }
  3801. fieldNum := int32(wire >> 3)
  3802. wireType := int(wire & 0x7)
  3803. if wireType == 4 {
  3804. return fmt.Errorf("proto: PendantHistory: wiretype end group for non-group")
  3805. }
  3806. if fieldNum <= 0 {
  3807. return fmt.Errorf("proto: PendantHistory: illegal tag %d (wire type %d)", fieldNum, wire)
  3808. }
  3809. switch fieldNum {
  3810. case 1:
  3811. if wireType != 0 {
  3812. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  3813. }
  3814. m.ID = 0
  3815. for shift := uint(0); ; shift += 7 {
  3816. if shift >= 64 {
  3817. return ErrIntOverflowModel
  3818. }
  3819. if iNdEx >= l {
  3820. return io.ErrUnexpectedEOF
  3821. }
  3822. b := dAtA[iNdEx]
  3823. iNdEx++
  3824. m.ID |= (int64(b) & 0x7F) << shift
  3825. if b < 0x80 {
  3826. break
  3827. }
  3828. }
  3829. case 2:
  3830. if wireType != 0 {
  3831. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  3832. }
  3833. m.Mid = 0
  3834. for shift := uint(0); ; shift += 7 {
  3835. if shift >= 64 {
  3836. return ErrIntOverflowModel
  3837. }
  3838. if iNdEx >= l {
  3839. return io.ErrUnexpectedEOF
  3840. }
  3841. b := dAtA[iNdEx]
  3842. iNdEx++
  3843. m.Mid |= (int64(b) & 0x7F) << shift
  3844. if b < 0x80 {
  3845. break
  3846. }
  3847. }
  3848. case 3:
  3849. if wireType != 0 {
  3850. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  3851. }
  3852. m.Pid = 0
  3853. for shift := uint(0); ; shift += 7 {
  3854. if shift >= 64 {
  3855. return ErrIntOverflowModel
  3856. }
  3857. if iNdEx >= l {
  3858. return io.ErrUnexpectedEOF
  3859. }
  3860. b := dAtA[iNdEx]
  3861. iNdEx++
  3862. m.Pid |= (int64(b) & 0x7F) << shift
  3863. if b < 0x80 {
  3864. break
  3865. }
  3866. }
  3867. case 4:
  3868. if wireType != 0 {
  3869. return fmt.Errorf("proto: wrong wireType = %d for field SourceType", wireType)
  3870. }
  3871. m.SourceType = 0
  3872. for shift := uint(0); ; shift += 7 {
  3873. if shift >= 64 {
  3874. return ErrIntOverflowModel
  3875. }
  3876. if iNdEx >= l {
  3877. return io.ErrUnexpectedEOF
  3878. }
  3879. b := dAtA[iNdEx]
  3880. iNdEx++
  3881. m.SourceType |= (int32(b) & 0x7F) << shift
  3882. if b < 0x80 {
  3883. break
  3884. }
  3885. }
  3886. case 5:
  3887. if wireType != 0 {
  3888. return fmt.Errorf("proto: wrong wireType = %d for field Expire", wireType)
  3889. }
  3890. m.Expire = 0
  3891. for shift := uint(0); ; shift += 7 {
  3892. if shift >= 64 {
  3893. return ErrIntOverflowModel
  3894. }
  3895. if iNdEx >= l {
  3896. return io.ErrUnexpectedEOF
  3897. }
  3898. b := dAtA[iNdEx]
  3899. iNdEx++
  3900. m.Expire |= (int64(b) & 0x7F) << shift
  3901. if b < 0x80 {
  3902. break
  3903. }
  3904. }
  3905. case 6:
  3906. if wireType != 2 {
  3907. return fmt.Errorf("proto: wrong wireType = %d for field OperatorName", wireType)
  3908. }
  3909. var stringLen uint64
  3910. for shift := uint(0); ; shift += 7 {
  3911. if shift >= 64 {
  3912. return ErrIntOverflowModel
  3913. }
  3914. if iNdEx >= l {
  3915. return io.ErrUnexpectedEOF
  3916. }
  3917. b := dAtA[iNdEx]
  3918. iNdEx++
  3919. stringLen |= (uint64(b) & 0x7F) << shift
  3920. if b < 0x80 {
  3921. break
  3922. }
  3923. }
  3924. intStringLen := int(stringLen)
  3925. if intStringLen < 0 {
  3926. return ErrInvalidLengthModel
  3927. }
  3928. postIndex := iNdEx + intStringLen
  3929. if postIndex > l {
  3930. return io.ErrUnexpectedEOF
  3931. }
  3932. m.OperatorName = string(dAtA[iNdEx:postIndex])
  3933. iNdEx = postIndex
  3934. case 7:
  3935. if wireType != 0 {
  3936. return fmt.Errorf("proto: wrong wireType = %d for field OperatorAction", wireType)
  3937. }
  3938. m.OperatorAction = 0
  3939. for shift := uint(0); ; shift += 7 {
  3940. if shift >= 64 {
  3941. return ErrIntOverflowModel
  3942. }
  3943. if iNdEx >= l {
  3944. return io.ErrUnexpectedEOF
  3945. }
  3946. b := dAtA[iNdEx]
  3947. iNdEx++
  3948. m.OperatorAction |= (int32(b) & 0x7F) << shift
  3949. if b < 0x80 {
  3950. break
  3951. }
  3952. }
  3953. default:
  3954. iNdEx = preIndex
  3955. skippy, err := skipModel(dAtA[iNdEx:])
  3956. if err != nil {
  3957. return err
  3958. }
  3959. if skippy < 0 {
  3960. return ErrInvalidLengthModel
  3961. }
  3962. if (iNdEx + skippy) > l {
  3963. return io.ErrUnexpectedEOF
  3964. }
  3965. iNdEx += skippy
  3966. }
  3967. }
  3968. if iNdEx > l {
  3969. return io.ErrUnexpectedEOF
  3970. }
  3971. return nil
  3972. }
  3973. func (m *PendantOrderInfo) Unmarshal(dAtA []byte) error {
  3974. l := len(dAtA)
  3975. iNdEx := 0
  3976. for iNdEx < l {
  3977. preIndex := iNdEx
  3978. var wire uint64
  3979. for shift := uint(0); ; shift += 7 {
  3980. if shift >= 64 {
  3981. return ErrIntOverflowModel
  3982. }
  3983. if iNdEx >= l {
  3984. return io.ErrUnexpectedEOF
  3985. }
  3986. b := dAtA[iNdEx]
  3987. iNdEx++
  3988. wire |= (uint64(b) & 0x7F) << shift
  3989. if b < 0x80 {
  3990. break
  3991. }
  3992. }
  3993. fieldNum := int32(wire >> 3)
  3994. wireType := int(wire & 0x7)
  3995. if wireType == 4 {
  3996. return fmt.Errorf("proto: PendantOrderInfo: wiretype end group for non-group")
  3997. }
  3998. if fieldNum <= 0 {
  3999. return fmt.Errorf("proto: PendantOrderInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  4000. }
  4001. switch fieldNum {
  4002. case 1:
  4003. if wireType != 0 {
  4004. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4005. }
  4006. m.ID = 0
  4007. for shift := uint(0); ; shift += 7 {
  4008. if shift >= 64 {
  4009. return ErrIntOverflowModel
  4010. }
  4011. if iNdEx >= l {
  4012. return io.ErrUnexpectedEOF
  4013. }
  4014. b := dAtA[iNdEx]
  4015. iNdEx++
  4016. m.ID |= (int64(b) & 0x7F) << shift
  4017. if b < 0x80 {
  4018. break
  4019. }
  4020. }
  4021. case 2:
  4022. if wireType != 0 {
  4023. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4024. }
  4025. m.Mid = 0
  4026. for shift := uint(0); ; shift += 7 {
  4027. if shift >= 64 {
  4028. return ErrIntOverflowModel
  4029. }
  4030. if iNdEx >= l {
  4031. return io.ErrUnexpectedEOF
  4032. }
  4033. b := dAtA[iNdEx]
  4034. iNdEx++
  4035. m.Mid |= (int64(b) & 0x7F) << shift
  4036. if b < 0x80 {
  4037. break
  4038. }
  4039. }
  4040. case 3:
  4041. if wireType != 2 {
  4042. return fmt.Errorf("proto: wrong wireType = %d for field OrderID", wireType)
  4043. }
  4044. var stringLen uint64
  4045. for shift := uint(0); ; shift += 7 {
  4046. if shift >= 64 {
  4047. return ErrIntOverflowModel
  4048. }
  4049. if iNdEx >= l {
  4050. return io.ErrUnexpectedEOF
  4051. }
  4052. b := dAtA[iNdEx]
  4053. iNdEx++
  4054. stringLen |= (uint64(b) & 0x7F) << shift
  4055. if b < 0x80 {
  4056. break
  4057. }
  4058. }
  4059. intStringLen := int(stringLen)
  4060. if intStringLen < 0 {
  4061. return ErrInvalidLengthModel
  4062. }
  4063. postIndex := iNdEx + intStringLen
  4064. if postIndex > l {
  4065. return io.ErrUnexpectedEOF
  4066. }
  4067. m.OrderID = string(dAtA[iNdEx:postIndex])
  4068. iNdEx = postIndex
  4069. case 4:
  4070. if wireType != 2 {
  4071. return fmt.Errorf("proto: wrong wireType = %d for field PayID", wireType)
  4072. }
  4073. var stringLen uint64
  4074. for shift := uint(0); ; shift += 7 {
  4075. if shift >= 64 {
  4076. return ErrIntOverflowModel
  4077. }
  4078. if iNdEx >= l {
  4079. return io.ErrUnexpectedEOF
  4080. }
  4081. b := dAtA[iNdEx]
  4082. iNdEx++
  4083. stringLen |= (uint64(b) & 0x7F) << shift
  4084. if b < 0x80 {
  4085. break
  4086. }
  4087. }
  4088. intStringLen := int(stringLen)
  4089. if intStringLen < 0 {
  4090. return ErrInvalidLengthModel
  4091. }
  4092. postIndex := iNdEx + intStringLen
  4093. if postIndex > l {
  4094. return io.ErrUnexpectedEOF
  4095. }
  4096. m.PayID = string(dAtA[iNdEx:postIndex])
  4097. iNdEx = postIndex
  4098. case 5:
  4099. if wireType != 0 {
  4100. return fmt.Errorf("proto: wrong wireType = %d for field PayType", wireType)
  4101. }
  4102. m.PayType = 0
  4103. for shift := uint(0); ; shift += 7 {
  4104. if shift >= 64 {
  4105. return ErrIntOverflowModel
  4106. }
  4107. if iNdEx >= l {
  4108. return io.ErrUnexpectedEOF
  4109. }
  4110. b := dAtA[iNdEx]
  4111. iNdEx++
  4112. m.PayType |= (int64(b) & 0x7F) << shift
  4113. if b < 0x80 {
  4114. break
  4115. }
  4116. }
  4117. case 6:
  4118. if wireType != 1 {
  4119. return fmt.Errorf("proto: wrong wireType = %d for field PayPrice", wireType)
  4120. }
  4121. var v uint64
  4122. if (iNdEx + 8) > l {
  4123. return io.ErrUnexpectedEOF
  4124. }
  4125. v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  4126. iNdEx += 8
  4127. m.PayPrice = float64(math.Float64frombits(v))
  4128. case 7:
  4129. if wireType != 0 {
  4130. return fmt.Errorf("proto: wrong wireType = %d for field AppID", wireType)
  4131. }
  4132. m.AppID = 0
  4133. for shift := uint(0); ; shift += 7 {
  4134. if shift >= 64 {
  4135. return ErrIntOverflowModel
  4136. }
  4137. if iNdEx >= l {
  4138. return io.ErrUnexpectedEOF
  4139. }
  4140. b := dAtA[iNdEx]
  4141. iNdEx++
  4142. m.AppID |= (int64(b) & 0x7F) << shift
  4143. if b < 0x80 {
  4144. break
  4145. }
  4146. }
  4147. case 8:
  4148. if wireType != 0 {
  4149. return fmt.Errorf("proto: wrong wireType = %d for field Stauts", wireType)
  4150. }
  4151. m.Stauts = 0
  4152. for shift := uint(0); ; shift += 7 {
  4153. if shift >= 64 {
  4154. return ErrIntOverflowModel
  4155. }
  4156. if iNdEx >= l {
  4157. return io.ErrUnexpectedEOF
  4158. }
  4159. b := dAtA[iNdEx]
  4160. iNdEx++
  4161. m.Stauts |= (int32(b) & 0x7F) << shift
  4162. if b < 0x80 {
  4163. break
  4164. }
  4165. }
  4166. case 9:
  4167. if wireType != 0 {
  4168. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  4169. }
  4170. m.Pid = 0
  4171. for shift := uint(0); ; shift += 7 {
  4172. if shift >= 64 {
  4173. return ErrIntOverflowModel
  4174. }
  4175. if iNdEx >= l {
  4176. return io.ErrUnexpectedEOF
  4177. }
  4178. b := dAtA[iNdEx]
  4179. iNdEx++
  4180. m.Pid |= (int64(b) & 0x7F) << shift
  4181. if b < 0x80 {
  4182. break
  4183. }
  4184. }
  4185. case 10:
  4186. if wireType != 0 {
  4187. return fmt.Errorf("proto: wrong wireType = %d for field TimeLength", wireType)
  4188. }
  4189. m.TimeLength = 0
  4190. for shift := uint(0); ; shift += 7 {
  4191. if shift >= 64 {
  4192. return ErrIntOverflowModel
  4193. }
  4194. if iNdEx >= l {
  4195. return io.ErrUnexpectedEOF
  4196. }
  4197. b := dAtA[iNdEx]
  4198. iNdEx++
  4199. m.TimeLength |= (int64(b) & 0x7F) << shift
  4200. if b < 0x80 {
  4201. break
  4202. }
  4203. }
  4204. case 11:
  4205. if wireType != 2 {
  4206. return fmt.Errorf("proto: wrong wireType = %d for field Cost", wireType)
  4207. }
  4208. var stringLen uint64
  4209. for shift := uint(0); ; shift += 7 {
  4210. if shift >= 64 {
  4211. return ErrIntOverflowModel
  4212. }
  4213. if iNdEx >= l {
  4214. return io.ErrUnexpectedEOF
  4215. }
  4216. b := dAtA[iNdEx]
  4217. iNdEx++
  4218. stringLen |= (uint64(b) & 0x7F) << shift
  4219. if b < 0x80 {
  4220. break
  4221. }
  4222. }
  4223. intStringLen := int(stringLen)
  4224. if intStringLen < 0 {
  4225. return ErrInvalidLengthModel
  4226. }
  4227. postIndex := iNdEx + intStringLen
  4228. if postIndex > l {
  4229. return io.ErrUnexpectedEOF
  4230. }
  4231. m.Cost = string(dAtA[iNdEx:postIndex])
  4232. iNdEx = postIndex
  4233. case 12:
  4234. if wireType != 0 {
  4235. return fmt.Errorf("proto: wrong wireType = %d for field BuyTime", wireType)
  4236. }
  4237. m.BuyTime = 0
  4238. for shift := uint(0); ; shift += 7 {
  4239. if shift >= 64 {
  4240. return ErrIntOverflowModel
  4241. }
  4242. if iNdEx >= l {
  4243. return io.ErrUnexpectedEOF
  4244. }
  4245. b := dAtA[iNdEx]
  4246. iNdEx++
  4247. m.BuyTime |= (int64(b) & 0x7F) << shift
  4248. if b < 0x80 {
  4249. break
  4250. }
  4251. }
  4252. case 13:
  4253. if wireType != 0 {
  4254. return fmt.Errorf("proto: wrong wireType = %d for field IsCallback", wireType)
  4255. }
  4256. m.IsCallback = 0
  4257. for shift := uint(0); ; shift += 7 {
  4258. if shift >= 64 {
  4259. return ErrIntOverflowModel
  4260. }
  4261. if iNdEx >= l {
  4262. return io.ErrUnexpectedEOF
  4263. }
  4264. b := dAtA[iNdEx]
  4265. iNdEx++
  4266. m.IsCallback |= (int32(b) & 0x7F) << shift
  4267. if b < 0x80 {
  4268. break
  4269. }
  4270. }
  4271. case 14:
  4272. if wireType != 0 {
  4273. return fmt.Errorf("proto: wrong wireType = %d for field CallbackTime", wireType)
  4274. }
  4275. m.CallbackTime = 0
  4276. for shift := uint(0); ; shift += 7 {
  4277. if shift >= 64 {
  4278. return ErrIntOverflowModel
  4279. }
  4280. if iNdEx >= l {
  4281. return io.ErrUnexpectedEOF
  4282. }
  4283. b := dAtA[iNdEx]
  4284. iNdEx++
  4285. m.CallbackTime |= (int64(b) & 0x7F) << shift
  4286. if b < 0x80 {
  4287. break
  4288. }
  4289. }
  4290. case 15:
  4291. if wireType != 2 {
  4292. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  4293. }
  4294. var stringLen uint64
  4295. for shift := uint(0); ; shift += 7 {
  4296. if shift >= 64 {
  4297. return ErrIntOverflowModel
  4298. }
  4299. if iNdEx >= l {
  4300. return io.ErrUnexpectedEOF
  4301. }
  4302. b := dAtA[iNdEx]
  4303. iNdEx++
  4304. stringLen |= (uint64(b) & 0x7F) << shift
  4305. if b < 0x80 {
  4306. break
  4307. }
  4308. }
  4309. intStringLen := int(stringLen)
  4310. if intStringLen < 0 {
  4311. return ErrInvalidLengthModel
  4312. }
  4313. postIndex := iNdEx + intStringLen
  4314. if postIndex > l {
  4315. return io.ErrUnexpectedEOF
  4316. }
  4317. m.Image = string(dAtA[iNdEx:postIndex])
  4318. iNdEx = postIndex
  4319. case 16:
  4320. if wireType != 2 {
  4321. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4322. }
  4323. var stringLen uint64
  4324. for shift := uint(0); ; shift += 7 {
  4325. if shift >= 64 {
  4326. return ErrIntOverflowModel
  4327. }
  4328. if iNdEx >= l {
  4329. return io.ErrUnexpectedEOF
  4330. }
  4331. b := dAtA[iNdEx]
  4332. iNdEx++
  4333. stringLen |= (uint64(b) & 0x7F) << shift
  4334. if b < 0x80 {
  4335. break
  4336. }
  4337. }
  4338. intStringLen := int(stringLen)
  4339. if intStringLen < 0 {
  4340. return ErrInvalidLengthModel
  4341. }
  4342. postIndex := iNdEx + intStringLen
  4343. if postIndex > l {
  4344. return io.ErrUnexpectedEOF
  4345. }
  4346. m.Name = string(dAtA[iNdEx:postIndex])
  4347. iNdEx = postIndex
  4348. default:
  4349. iNdEx = preIndex
  4350. skippy, err := skipModel(dAtA[iNdEx:])
  4351. if err != nil {
  4352. return err
  4353. }
  4354. if skippy < 0 {
  4355. return ErrInvalidLengthModel
  4356. }
  4357. if (iNdEx + skippy) > l {
  4358. return io.ErrUnexpectedEOF
  4359. }
  4360. iNdEx += skippy
  4361. }
  4362. }
  4363. if iNdEx > l {
  4364. return io.ErrUnexpectedEOF
  4365. }
  4366. return nil
  4367. }
  4368. func (m *PayInfo) Unmarshal(dAtA []byte) error {
  4369. l := len(dAtA)
  4370. iNdEx := 0
  4371. for iNdEx < l {
  4372. preIndex := iNdEx
  4373. var wire uint64
  4374. for shift := uint(0); ; shift += 7 {
  4375. if shift >= 64 {
  4376. return ErrIntOverflowModel
  4377. }
  4378. if iNdEx >= l {
  4379. return io.ErrUnexpectedEOF
  4380. }
  4381. b := dAtA[iNdEx]
  4382. iNdEx++
  4383. wire |= (uint64(b) & 0x7F) << shift
  4384. if b < 0x80 {
  4385. break
  4386. }
  4387. }
  4388. fieldNum := int32(wire >> 3)
  4389. wireType := int(wire & 0x7)
  4390. if wireType == 4 {
  4391. return fmt.Errorf("proto: PayInfo: wiretype end group for non-group")
  4392. }
  4393. if fieldNum <= 0 {
  4394. return fmt.Errorf("proto: PayInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  4395. }
  4396. switch fieldNum {
  4397. case 1:
  4398. if wireType != 2 {
  4399. return fmt.Errorf("proto: wrong wireType = %d for field OrderID", wireType)
  4400. }
  4401. var stringLen uint64
  4402. for shift := uint(0); ; shift += 7 {
  4403. if shift >= 64 {
  4404. return ErrIntOverflowModel
  4405. }
  4406. if iNdEx >= l {
  4407. return io.ErrUnexpectedEOF
  4408. }
  4409. b := dAtA[iNdEx]
  4410. iNdEx++
  4411. stringLen |= (uint64(b) & 0x7F) << shift
  4412. if b < 0x80 {
  4413. break
  4414. }
  4415. }
  4416. intStringLen := int(stringLen)
  4417. if intStringLen < 0 {
  4418. return ErrInvalidLengthModel
  4419. }
  4420. postIndex := iNdEx + intStringLen
  4421. if postIndex > l {
  4422. return io.ErrUnexpectedEOF
  4423. }
  4424. m.OrderID = string(dAtA[iNdEx:postIndex])
  4425. iNdEx = postIndex
  4426. case 2:
  4427. if wireType != 2 {
  4428. return fmt.Errorf("proto: wrong wireType = %d for field OrderNum", wireType)
  4429. }
  4430. var stringLen uint64
  4431. for shift := uint(0); ; shift += 7 {
  4432. if shift >= 64 {
  4433. return ErrIntOverflowModel
  4434. }
  4435. if iNdEx >= l {
  4436. return io.ErrUnexpectedEOF
  4437. }
  4438. b := dAtA[iNdEx]
  4439. iNdEx++
  4440. stringLen |= (uint64(b) & 0x7F) << shift
  4441. if b < 0x80 {
  4442. break
  4443. }
  4444. }
  4445. intStringLen := int(stringLen)
  4446. if intStringLen < 0 {
  4447. return ErrInvalidLengthModel
  4448. }
  4449. postIndex := iNdEx + intStringLen
  4450. if postIndex > l {
  4451. return io.ErrUnexpectedEOF
  4452. }
  4453. m.OrderNum = string(dAtA[iNdEx:postIndex])
  4454. iNdEx = postIndex
  4455. case 3:
  4456. if wireType != 2 {
  4457. return fmt.Errorf("proto: wrong wireType = %d for field PayURL", wireType)
  4458. }
  4459. var stringLen uint64
  4460. for shift := uint(0); ; shift += 7 {
  4461. if shift >= 64 {
  4462. return ErrIntOverflowModel
  4463. }
  4464. if iNdEx >= l {
  4465. return io.ErrUnexpectedEOF
  4466. }
  4467. b := dAtA[iNdEx]
  4468. iNdEx++
  4469. stringLen |= (uint64(b) & 0x7F) << shift
  4470. if b < 0x80 {
  4471. break
  4472. }
  4473. }
  4474. intStringLen := int(stringLen)
  4475. if intStringLen < 0 {
  4476. return ErrInvalidLengthModel
  4477. }
  4478. postIndex := iNdEx + intStringLen
  4479. if postIndex > l {
  4480. return io.ErrUnexpectedEOF
  4481. }
  4482. m.PayURL = string(dAtA[iNdEx:postIndex])
  4483. iNdEx = postIndex
  4484. default:
  4485. iNdEx = preIndex
  4486. skippy, err := skipModel(dAtA[iNdEx:])
  4487. if err != nil {
  4488. return err
  4489. }
  4490. if skippy < 0 {
  4491. return ErrInvalidLengthModel
  4492. }
  4493. if (iNdEx + skippy) > l {
  4494. return io.ErrUnexpectedEOF
  4495. }
  4496. iNdEx += skippy
  4497. }
  4498. }
  4499. if iNdEx > l {
  4500. return io.ErrUnexpectedEOF
  4501. }
  4502. return nil
  4503. }
  4504. func (m *Pendant) Unmarshal(dAtA []byte) error {
  4505. l := len(dAtA)
  4506. iNdEx := 0
  4507. for iNdEx < l {
  4508. preIndex := iNdEx
  4509. var wire uint64
  4510. for shift := uint(0); ; shift += 7 {
  4511. if shift >= 64 {
  4512. return ErrIntOverflowModel
  4513. }
  4514. if iNdEx >= l {
  4515. return io.ErrUnexpectedEOF
  4516. }
  4517. b := dAtA[iNdEx]
  4518. iNdEx++
  4519. wire |= (uint64(b) & 0x7F) << shift
  4520. if b < 0x80 {
  4521. break
  4522. }
  4523. }
  4524. fieldNum := int32(wire >> 3)
  4525. wireType := int(wire & 0x7)
  4526. if wireType == 4 {
  4527. return fmt.Errorf("proto: Pendant: wiretype end group for non-group")
  4528. }
  4529. if fieldNum <= 0 {
  4530. return fmt.Errorf("proto: Pendant: illegal tag %d (wire type %d)", fieldNum, wire)
  4531. }
  4532. switch fieldNum {
  4533. case 1:
  4534. if wireType != 0 {
  4535. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4536. }
  4537. m.ID = 0
  4538. for shift := uint(0); ; shift += 7 {
  4539. if shift >= 64 {
  4540. return ErrIntOverflowModel
  4541. }
  4542. if iNdEx >= l {
  4543. return io.ErrUnexpectedEOF
  4544. }
  4545. b := dAtA[iNdEx]
  4546. iNdEx++
  4547. m.ID |= (int64(b) & 0x7F) << shift
  4548. if b < 0x80 {
  4549. break
  4550. }
  4551. }
  4552. case 2:
  4553. if wireType != 2 {
  4554. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  4555. }
  4556. var stringLen uint64
  4557. for shift := uint(0); ; shift += 7 {
  4558. if shift >= 64 {
  4559. return ErrIntOverflowModel
  4560. }
  4561. if iNdEx >= l {
  4562. return io.ErrUnexpectedEOF
  4563. }
  4564. b := dAtA[iNdEx]
  4565. iNdEx++
  4566. stringLen |= (uint64(b) & 0x7F) << shift
  4567. if b < 0x80 {
  4568. break
  4569. }
  4570. }
  4571. intStringLen := int(stringLen)
  4572. if intStringLen < 0 {
  4573. return ErrInvalidLengthModel
  4574. }
  4575. postIndex := iNdEx + intStringLen
  4576. if postIndex > l {
  4577. return io.ErrUnexpectedEOF
  4578. }
  4579. m.Name = string(dAtA[iNdEx:postIndex])
  4580. iNdEx = postIndex
  4581. case 3:
  4582. if wireType != 2 {
  4583. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  4584. }
  4585. var stringLen uint64
  4586. for shift := uint(0); ; shift += 7 {
  4587. if shift >= 64 {
  4588. return ErrIntOverflowModel
  4589. }
  4590. if iNdEx >= l {
  4591. return io.ErrUnexpectedEOF
  4592. }
  4593. b := dAtA[iNdEx]
  4594. iNdEx++
  4595. stringLen |= (uint64(b) & 0x7F) << shift
  4596. if b < 0x80 {
  4597. break
  4598. }
  4599. }
  4600. intStringLen := int(stringLen)
  4601. if intStringLen < 0 {
  4602. return ErrInvalidLengthModel
  4603. }
  4604. postIndex := iNdEx + intStringLen
  4605. if postIndex > l {
  4606. return io.ErrUnexpectedEOF
  4607. }
  4608. m.Image = string(dAtA[iNdEx:postIndex])
  4609. iNdEx = postIndex
  4610. case 4:
  4611. if wireType != 2 {
  4612. return fmt.Errorf("proto: wrong wireType = %d for field ImageModel", wireType)
  4613. }
  4614. var stringLen uint64
  4615. for shift := uint(0); ; shift += 7 {
  4616. if shift >= 64 {
  4617. return ErrIntOverflowModel
  4618. }
  4619. if iNdEx >= l {
  4620. return io.ErrUnexpectedEOF
  4621. }
  4622. b := dAtA[iNdEx]
  4623. iNdEx++
  4624. stringLen |= (uint64(b) & 0x7F) << shift
  4625. if b < 0x80 {
  4626. break
  4627. }
  4628. }
  4629. intStringLen := int(stringLen)
  4630. if intStringLen < 0 {
  4631. return ErrInvalidLengthModel
  4632. }
  4633. postIndex := iNdEx + intStringLen
  4634. if postIndex > l {
  4635. return io.ErrUnexpectedEOF
  4636. }
  4637. m.ImageModel = string(dAtA[iNdEx:postIndex])
  4638. iNdEx = postIndex
  4639. case 5:
  4640. if wireType != 0 {
  4641. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4642. }
  4643. m.Status = 0
  4644. for shift := uint(0); ; shift += 7 {
  4645. if shift >= 64 {
  4646. return ErrIntOverflowModel
  4647. }
  4648. if iNdEx >= l {
  4649. return io.ErrUnexpectedEOF
  4650. }
  4651. b := dAtA[iNdEx]
  4652. iNdEx++
  4653. m.Status |= (int32(b) & 0x7F) << shift
  4654. if b < 0x80 {
  4655. break
  4656. }
  4657. }
  4658. case 6:
  4659. if wireType != 0 {
  4660. return fmt.Errorf("proto: wrong wireType = %d for field Coin", wireType)
  4661. }
  4662. m.Coin = 0
  4663. for shift := uint(0); ; shift += 7 {
  4664. if shift >= 64 {
  4665. return ErrIntOverflowModel
  4666. }
  4667. if iNdEx >= l {
  4668. return io.ErrUnexpectedEOF
  4669. }
  4670. b := dAtA[iNdEx]
  4671. iNdEx++
  4672. m.Coin |= (int64(b) & 0x7F) << shift
  4673. if b < 0x80 {
  4674. break
  4675. }
  4676. }
  4677. case 7:
  4678. if wireType != 0 {
  4679. return fmt.Errorf("proto: wrong wireType = %d for field Point", wireType)
  4680. }
  4681. m.Point = 0
  4682. for shift := uint(0); ; shift += 7 {
  4683. if shift >= 64 {
  4684. return ErrIntOverflowModel
  4685. }
  4686. if iNdEx >= l {
  4687. return io.ErrUnexpectedEOF
  4688. }
  4689. b := dAtA[iNdEx]
  4690. iNdEx++
  4691. m.Point |= (int64(b) & 0x7F) << shift
  4692. if b < 0x80 {
  4693. break
  4694. }
  4695. }
  4696. case 8:
  4697. if wireType != 0 {
  4698. return fmt.Errorf("proto: wrong wireType = %d for field BCoin", wireType)
  4699. }
  4700. m.BCoin = 0
  4701. for shift := uint(0); ; shift += 7 {
  4702. if shift >= 64 {
  4703. return ErrIntOverflowModel
  4704. }
  4705. if iNdEx >= l {
  4706. return io.ErrUnexpectedEOF
  4707. }
  4708. b := dAtA[iNdEx]
  4709. iNdEx++
  4710. m.BCoin |= (int64(b) & 0x7F) << shift
  4711. if b < 0x80 {
  4712. break
  4713. }
  4714. }
  4715. case 9:
  4716. if wireType != 0 {
  4717. return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType)
  4718. }
  4719. m.Expires = 0
  4720. for shift := uint(0); ; shift += 7 {
  4721. if shift >= 64 {
  4722. return ErrIntOverflowModel
  4723. }
  4724. if iNdEx >= l {
  4725. return io.ErrUnexpectedEOF
  4726. }
  4727. b := dAtA[iNdEx]
  4728. iNdEx++
  4729. m.Expires |= (int64(b) & 0x7F) << shift
  4730. if b < 0x80 {
  4731. break
  4732. }
  4733. }
  4734. case 10:
  4735. if wireType != 0 {
  4736. return fmt.Errorf("proto: wrong wireType = %d for field Gid", wireType)
  4737. }
  4738. m.Gid = 0
  4739. for shift := uint(0); ; shift += 7 {
  4740. if shift >= 64 {
  4741. return ErrIntOverflowModel
  4742. }
  4743. if iNdEx >= l {
  4744. return io.ErrUnexpectedEOF
  4745. }
  4746. b := dAtA[iNdEx]
  4747. iNdEx++
  4748. m.Gid |= (int64(b) & 0x7F) << shift
  4749. if b < 0x80 {
  4750. break
  4751. }
  4752. }
  4753. case 11:
  4754. if wireType != 0 {
  4755. return fmt.Errorf("proto: wrong wireType = %d for field Rank", wireType)
  4756. }
  4757. m.Rank = 0
  4758. for shift := uint(0); ; shift += 7 {
  4759. if shift >= 64 {
  4760. return ErrIntOverflowModel
  4761. }
  4762. if iNdEx >= l {
  4763. return io.ErrUnexpectedEOF
  4764. }
  4765. b := dAtA[iNdEx]
  4766. iNdEx++
  4767. m.Rank |= (int32(b) & 0x7F) << shift
  4768. if b < 0x80 {
  4769. break
  4770. }
  4771. }
  4772. default:
  4773. iNdEx = preIndex
  4774. skippy, err := skipModel(dAtA[iNdEx:])
  4775. if err != nil {
  4776. return err
  4777. }
  4778. if skippy < 0 {
  4779. return ErrInvalidLengthModel
  4780. }
  4781. if (iNdEx + skippy) > l {
  4782. return io.ErrUnexpectedEOF
  4783. }
  4784. iNdEx += skippy
  4785. }
  4786. }
  4787. if iNdEx > l {
  4788. return io.ErrUnexpectedEOF
  4789. }
  4790. return nil
  4791. }
  4792. func (m *PendantPackage) Unmarshal(dAtA []byte) error {
  4793. l := len(dAtA)
  4794. iNdEx := 0
  4795. for iNdEx < l {
  4796. preIndex := iNdEx
  4797. var wire uint64
  4798. for shift := uint(0); ; shift += 7 {
  4799. if shift >= 64 {
  4800. return ErrIntOverflowModel
  4801. }
  4802. if iNdEx >= l {
  4803. return io.ErrUnexpectedEOF
  4804. }
  4805. b := dAtA[iNdEx]
  4806. iNdEx++
  4807. wire |= (uint64(b) & 0x7F) << shift
  4808. if b < 0x80 {
  4809. break
  4810. }
  4811. }
  4812. fieldNum := int32(wire >> 3)
  4813. wireType := int(wire & 0x7)
  4814. if wireType == 4 {
  4815. return fmt.Errorf("proto: PendantPackage: wiretype end group for non-group")
  4816. }
  4817. if fieldNum <= 0 {
  4818. return fmt.Errorf("proto: PendantPackage: illegal tag %d (wire type %d)", fieldNum, wire)
  4819. }
  4820. switch fieldNum {
  4821. case 1:
  4822. if wireType != 0 {
  4823. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  4824. }
  4825. m.ID = 0
  4826. for shift := uint(0); ; shift += 7 {
  4827. if shift >= 64 {
  4828. return ErrIntOverflowModel
  4829. }
  4830. if iNdEx >= l {
  4831. return io.ErrUnexpectedEOF
  4832. }
  4833. b := dAtA[iNdEx]
  4834. iNdEx++
  4835. m.ID |= (int64(b) & 0x7F) << shift
  4836. if b < 0x80 {
  4837. break
  4838. }
  4839. }
  4840. case 2:
  4841. if wireType != 0 {
  4842. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  4843. }
  4844. m.Mid = 0
  4845. for shift := uint(0); ; shift += 7 {
  4846. if shift >= 64 {
  4847. return ErrIntOverflowModel
  4848. }
  4849. if iNdEx >= l {
  4850. return io.ErrUnexpectedEOF
  4851. }
  4852. b := dAtA[iNdEx]
  4853. iNdEx++
  4854. m.Mid |= (int64(b) & 0x7F) << shift
  4855. if b < 0x80 {
  4856. break
  4857. }
  4858. }
  4859. case 3:
  4860. if wireType != 0 {
  4861. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  4862. }
  4863. m.Pid = 0
  4864. for shift := uint(0); ; shift += 7 {
  4865. if shift >= 64 {
  4866. return ErrIntOverflowModel
  4867. }
  4868. if iNdEx >= l {
  4869. return io.ErrUnexpectedEOF
  4870. }
  4871. b := dAtA[iNdEx]
  4872. iNdEx++
  4873. m.Pid |= (int64(b) & 0x7F) << shift
  4874. if b < 0x80 {
  4875. break
  4876. }
  4877. }
  4878. case 4:
  4879. if wireType != 0 {
  4880. return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType)
  4881. }
  4882. m.Expires = 0
  4883. for shift := uint(0); ; shift += 7 {
  4884. if shift >= 64 {
  4885. return ErrIntOverflowModel
  4886. }
  4887. if iNdEx >= l {
  4888. return io.ErrUnexpectedEOF
  4889. }
  4890. b := dAtA[iNdEx]
  4891. iNdEx++
  4892. m.Expires |= (int64(b) & 0x7F) << shift
  4893. if b < 0x80 {
  4894. break
  4895. }
  4896. }
  4897. case 5:
  4898. if wireType != 0 {
  4899. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  4900. }
  4901. m.Type = 0
  4902. for shift := uint(0); ; shift += 7 {
  4903. if shift >= 64 {
  4904. return ErrIntOverflowModel
  4905. }
  4906. if iNdEx >= l {
  4907. return io.ErrUnexpectedEOF
  4908. }
  4909. b := dAtA[iNdEx]
  4910. iNdEx++
  4911. m.Type |= (int64(b) & 0x7F) << shift
  4912. if b < 0x80 {
  4913. break
  4914. }
  4915. }
  4916. case 6:
  4917. if wireType != 0 {
  4918. return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
  4919. }
  4920. m.Status = 0
  4921. for shift := uint(0); ; shift += 7 {
  4922. if shift >= 64 {
  4923. return ErrIntOverflowModel
  4924. }
  4925. if iNdEx >= l {
  4926. return io.ErrUnexpectedEOF
  4927. }
  4928. b := dAtA[iNdEx]
  4929. iNdEx++
  4930. m.Status |= (int32(b) & 0x7F) << shift
  4931. if b < 0x80 {
  4932. break
  4933. }
  4934. }
  4935. case 7:
  4936. if wireType != 0 {
  4937. return fmt.Errorf("proto: wrong wireType = %d for field IsVIP", wireType)
  4938. }
  4939. m.IsVIP = 0
  4940. for shift := uint(0); ; shift += 7 {
  4941. if shift >= 64 {
  4942. return ErrIntOverflowModel
  4943. }
  4944. if iNdEx >= l {
  4945. return io.ErrUnexpectedEOF
  4946. }
  4947. b := dAtA[iNdEx]
  4948. iNdEx++
  4949. m.IsVIP |= (int32(b) & 0x7F) << shift
  4950. if b < 0x80 {
  4951. break
  4952. }
  4953. }
  4954. case 8:
  4955. if wireType != 2 {
  4956. return fmt.Errorf("proto: wrong wireType = %d for field Pendant", wireType)
  4957. }
  4958. var msglen int
  4959. for shift := uint(0); ; shift += 7 {
  4960. if shift >= 64 {
  4961. return ErrIntOverflowModel
  4962. }
  4963. if iNdEx >= l {
  4964. return io.ErrUnexpectedEOF
  4965. }
  4966. b := dAtA[iNdEx]
  4967. iNdEx++
  4968. msglen |= (int(b) & 0x7F) << shift
  4969. if b < 0x80 {
  4970. break
  4971. }
  4972. }
  4973. if msglen < 0 {
  4974. return ErrInvalidLengthModel
  4975. }
  4976. postIndex := iNdEx + msglen
  4977. if postIndex > l {
  4978. return io.ErrUnexpectedEOF
  4979. }
  4980. if m.Pendant == nil {
  4981. m.Pendant = &Pendant{}
  4982. }
  4983. if err := m.Pendant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  4984. return err
  4985. }
  4986. iNdEx = postIndex
  4987. default:
  4988. iNdEx = preIndex
  4989. skippy, err := skipModel(dAtA[iNdEx:])
  4990. if err != nil {
  4991. return err
  4992. }
  4993. if skippy < 0 {
  4994. return ErrInvalidLengthModel
  4995. }
  4996. if (iNdEx + skippy) > l {
  4997. return io.ErrUnexpectedEOF
  4998. }
  4999. iNdEx += skippy
  5000. }
  5001. }
  5002. if iNdEx > l {
  5003. return io.ErrUnexpectedEOF
  5004. }
  5005. return nil
  5006. }
  5007. func (m *PendantEquip) Unmarshal(dAtA []byte) error {
  5008. l := len(dAtA)
  5009. iNdEx := 0
  5010. for iNdEx < l {
  5011. preIndex := iNdEx
  5012. var wire uint64
  5013. for shift := uint(0); ; shift += 7 {
  5014. if shift >= 64 {
  5015. return ErrIntOverflowModel
  5016. }
  5017. if iNdEx >= l {
  5018. return io.ErrUnexpectedEOF
  5019. }
  5020. b := dAtA[iNdEx]
  5021. iNdEx++
  5022. wire |= (uint64(b) & 0x7F) << shift
  5023. if b < 0x80 {
  5024. break
  5025. }
  5026. }
  5027. fieldNum := int32(wire >> 3)
  5028. wireType := int(wire & 0x7)
  5029. if wireType == 4 {
  5030. return fmt.Errorf("proto: PendantEquip: wiretype end group for non-group")
  5031. }
  5032. if fieldNum <= 0 {
  5033. return fmt.Errorf("proto: PendantEquip: illegal tag %d (wire type %d)", fieldNum, wire)
  5034. }
  5035. switch fieldNum {
  5036. case 1:
  5037. if wireType != 0 {
  5038. return fmt.Errorf("proto: wrong wireType = %d for field Mid", wireType)
  5039. }
  5040. m.Mid = 0
  5041. for shift := uint(0); ; shift += 7 {
  5042. if shift >= 64 {
  5043. return ErrIntOverflowModel
  5044. }
  5045. if iNdEx >= l {
  5046. return io.ErrUnexpectedEOF
  5047. }
  5048. b := dAtA[iNdEx]
  5049. iNdEx++
  5050. m.Mid |= (int64(b) & 0x7F) << shift
  5051. if b < 0x80 {
  5052. break
  5053. }
  5054. }
  5055. case 2:
  5056. if wireType != 0 {
  5057. return fmt.Errorf("proto: wrong wireType = %d for field Pid", wireType)
  5058. }
  5059. m.Pid = 0
  5060. for shift := uint(0); ; shift += 7 {
  5061. if shift >= 64 {
  5062. return ErrIntOverflowModel
  5063. }
  5064. if iNdEx >= l {
  5065. return io.ErrUnexpectedEOF
  5066. }
  5067. b := dAtA[iNdEx]
  5068. iNdEx++
  5069. m.Pid |= (int64(b) & 0x7F) << shift
  5070. if b < 0x80 {
  5071. break
  5072. }
  5073. }
  5074. case 3:
  5075. if wireType != 0 {
  5076. return fmt.Errorf("proto: wrong wireType = %d for field Expires", wireType)
  5077. }
  5078. m.Expires = 0
  5079. for shift := uint(0); ; shift += 7 {
  5080. if shift >= 64 {
  5081. return ErrIntOverflowModel
  5082. }
  5083. if iNdEx >= l {
  5084. return io.ErrUnexpectedEOF
  5085. }
  5086. b := dAtA[iNdEx]
  5087. iNdEx++
  5088. m.Expires |= (int64(b) & 0x7F) << shift
  5089. if b < 0x80 {
  5090. break
  5091. }
  5092. }
  5093. case 4:
  5094. if wireType != 2 {
  5095. return fmt.Errorf("proto: wrong wireType = %d for field Pendant", wireType)
  5096. }
  5097. var msglen int
  5098. for shift := uint(0); ; shift += 7 {
  5099. if shift >= 64 {
  5100. return ErrIntOverflowModel
  5101. }
  5102. if iNdEx >= l {
  5103. return io.ErrUnexpectedEOF
  5104. }
  5105. b := dAtA[iNdEx]
  5106. iNdEx++
  5107. msglen |= (int(b) & 0x7F) << shift
  5108. if b < 0x80 {
  5109. break
  5110. }
  5111. }
  5112. if msglen < 0 {
  5113. return ErrInvalidLengthModel
  5114. }
  5115. postIndex := iNdEx + msglen
  5116. if postIndex > l {
  5117. return io.ErrUnexpectedEOF
  5118. }
  5119. if m.Pendant == nil {
  5120. m.Pendant = &Pendant{}
  5121. }
  5122. if err := m.Pendant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5123. return err
  5124. }
  5125. iNdEx = postIndex
  5126. default:
  5127. iNdEx = preIndex
  5128. skippy, err := skipModel(dAtA[iNdEx:])
  5129. if err != nil {
  5130. return err
  5131. }
  5132. if skippy < 0 {
  5133. return ErrInvalidLengthModel
  5134. }
  5135. if (iNdEx + skippy) > l {
  5136. return io.ErrUnexpectedEOF
  5137. }
  5138. iNdEx += skippy
  5139. }
  5140. }
  5141. if iNdEx > l {
  5142. return io.ErrUnexpectedEOF
  5143. }
  5144. return nil
  5145. }
  5146. func (m *GroupPendantList) Unmarshal(dAtA []byte) error {
  5147. l := len(dAtA)
  5148. iNdEx := 0
  5149. for iNdEx < l {
  5150. preIndex := iNdEx
  5151. var wire uint64
  5152. for shift := uint(0); ; shift += 7 {
  5153. if shift >= 64 {
  5154. return ErrIntOverflowModel
  5155. }
  5156. if iNdEx >= l {
  5157. return io.ErrUnexpectedEOF
  5158. }
  5159. b := dAtA[iNdEx]
  5160. iNdEx++
  5161. wire |= (uint64(b) & 0x7F) << shift
  5162. if b < 0x80 {
  5163. break
  5164. }
  5165. }
  5166. fieldNum := int32(wire >> 3)
  5167. wireType := int(wire & 0x7)
  5168. if wireType == 4 {
  5169. return fmt.Errorf("proto: GroupPendantList: wiretype end group for non-group")
  5170. }
  5171. if fieldNum <= 0 {
  5172. return fmt.Errorf("proto: GroupPendantList: illegal tag %d (wire type %d)", fieldNum, wire)
  5173. }
  5174. switch fieldNum {
  5175. case 1:
  5176. if wireType != 0 {
  5177. return fmt.Errorf("proto: wrong wireType = %d for field PkgExpires", wireType)
  5178. }
  5179. m.PkgExpires = 0
  5180. for shift := uint(0); ; shift += 7 {
  5181. if shift >= 64 {
  5182. return ErrIntOverflowModel
  5183. }
  5184. if iNdEx >= l {
  5185. return io.ErrUnexpectedEOF
  5186. }
  5187. b := dAtA[iNdEx]
  5188. iNdEx++
  5189. m.PkgExpires |= (int64(b) & 0x7F) << shift
  5190. if b < 0x80 {
  5191. break
  5192. }
  5193. }
  5194. case 2:
  5195. if wireType != 0 {
  5196. return fmt.Errorf("proto: wrong wireType = %d for field PkgStatus", wireType)
  5197. }
  5198. m.PkgStatus = 0
  5199. for shift := uint(0); ; shift += 7 {
  5200. if shift >= 64 {
  5201. return ErrIntOverflowModel
  5202. }
  5203. if iNdEx >= l {
  5204. return io.ErrUnexpectedEOF
  5205. }
  5206. b := dAtA[iNdEx]
  5207. iNdEx++
  5208. m.PkgStatus |= (int32(b) & 0x7F) << shift
  5209. if b < 0x80 {
  5210. break
  5211. }
  5212. }
  5213. case 3:
  5214. if wireType != 2 {
  5215. return fmt.Errorf("proto: wrong wireType = %d for field Pendant", wireType)
  5216. }
  5217. var msglen int
  5218. for shift := uint(0); ; shift += 7 {
  5219. if shift >= 64 {
  5220. return ErrIntOverflowModel
  5221. }
  5222. if iNdEx >= l {
  5223. return io.ErrUnexpectedEOF
  5224. }
  5225. b := dAtA[iNdEx]
  5226. iNdEx++
  5227. msglen |= (int(b) & 0x7F) << shift
  5228. if b < 0x80 {
  5229. break
  5230. }
  5231. }
  5232. if msglen < 0 {
  5233. return ErrInvalidLengthModel
  5234. }
  5235. postIndex := iNdEx + msglen
  5236. if postIndex > l {
  5237. return io.ErrUnexpectedEOF
  5238. }
  5239. if m.Pendant == nil {
  5240. m.Pendant = &Pendant{}
  5241. }
  5242. if err := m.Pendant.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  5243. return err
  5244. }
  5245. iNdEx = postIndex
  5246. default:
  5247. iNdEx = preIndex
  5248. skippy, err := skipModel(dAtA[iNdEx:])
  5249. if err != nil {
  5250. return err
  5251. }
  5252. if skippy < 0 {
  5253. return ErrInvalidLengthModel
  5254. }
  5255. if (iNdEx + skippy) > l {
  5256. return io.ErrUnexpectedEOF
  5257. }
  5258. iNdEx += skippy
  5259. }
  5260. }
  5261. if iNdEx > l {
  5262. return io.ErrUnexpectedEOF
  5263. }
  5264. return nil
  5265. }
  5266. func (m *MedalInfo) Unmarshal(dAtA []byte) error {
  5267. l := len(dAtA)
  5268. iNdEx := 0
  5269. for iNdEx < l {
  5270. preIndex := iNdEx
  5271. var wire uint64
  5272. for shift := uint(0); ; shift += 7 {
  5273. if shift >= 64 {
  5274. return ErrIntOverflowModel
  5275. }
  5276. if iNdEx >= l {
  5277. return io.ErrUnexpectedEOF
  5278. }
  5279. b := dAtA[iNdEx]
  5280. iNdEx++
  5281. wire |= (uint64(b) & 0x7F) << shift
  5282. if b < 0x80 {
  5283. break
  5284. }
  5285. }
  5286. fieldNum := int32(wire >> 3)
  5287. wireType := int(wire & 0x7)
  5288. if wireType == 4 {
  5289. return fmt.Errorf("proto: MedalInfo: wiretype end group for non-group")
  5290. }
  5291. if fieldNum <= 0 {
  5292. return fmt.Errorf("proto: MedalInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  5293. }
  5294. switch fieldNum {
  5295. case 1:
  5296. if wireType != 0 {
  5297. return fmt.Errorf("proto: wrong wireType = %d for field ID", wireType)
  5298. }
  5299. m.ID = 0
  5300. for shift := uint(0); ; shift += 7 {
  5301. if shift >= 64 {
  5302. return ErrIntOverflowModel
  5303. }
  5304. if iNdEx >= l {
  5305. return io.ErrUnexpectedEOF
  5306. }
  5307. b := dAtA[iNdEx]
  5308. iNdEx++
  5309. m.ID |= (int64(b) & 0x7F) << shift
  5310. if b < 0x80 {
  5311. break
  5312. }
  5313. }
  5314. case 2:
  5315. if wireType != 2 {
  5316. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5317. }
  5318. var stringLen uint64
  5319. for shift := uint(0); ; shift += 7 {
  5320. if shift >= 64 {
  5321. return ErrIntOverflowModel
  5322. }
  5323. if iNdEx >= l {
  5324. return io.ErrUnexpectedEOF
  5325. }
  5326. b := dAtA[iNdEx]
  5327. iNdEx++
  5328. stringLen |= (uint64(b) & 0x7F) << shift
  5329. if b < 0x80 {
  5330. break
  5331. }
  5332. }
  5333. intStringLen := int(stringLen)
  5334. if intStringLen < 0 {
  5335. return ErrInvalidLengthModel
  5336. }
  5337. postIndex := iNdEx + intStringLen
  5338. if postIndex > l {
  5339. return io.ErrUnexpectedEOF
  5340. }
  5341. m.Name = string(dAtA[iNdEx:postIndex])
  5342. iNdEx = postIndex
  5343. case 3:
  5344. if wireType != 2 {
  5345. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  5346. }
  5347. var stringLen uint64
  5348. for shift := uint(0); ; shift += 7 {
  5349. if shift >= 64 {
  5350. return ErrIntOverflowModel
  5351. }
  5352. if iNdEx >= l {
  5353. return io.ErrUnexpectedEOF
  5354. }
  5355. b := dAtA[iNdEx]
  5356. iNdEx++
  5357. stringLen |= (uint64(b) & 0x7F) << shift
  5358. if b < 0x80 {
  5359. break
  5360. }
  5361. }
  5362. intStringLen := int(stringLen)
  5363. if intStringLen < 0 {
  5364. return ErrInvalidLengthModel
  5365. }
  5366. postIndex := iNdEx + intStringLen
  5367. if postIndex > l {
  5368. return io.ErrUnexpectedEOF
  5369. }
  5370. m.Description = string(dAtA[iNdEx:postIndex])
  5371. iNdEx = postIndex
  5372. case 4:
  5373. if wireType != 2 {
  5374. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  5375. }
  5376. var stringLen uint64
  5377. for shift := uint(0); ; shift += 7 {
  5378. if shift >= 64 {
  5379. return ErrIntOverflowModel
  5380. }
  5381. if iNdEx >= l {
  5382. return io.ErrUnexpectedEOF
  5383. }
  5384. b := dAtA[iNdEx]
  5385. iNdEx++
  5386. stringLen |= (uint64(b) & 0x7F) << shift
  5387. if b < 0x80 {
  5388. break
  5389. }
  5390. }
  5391. intStringLen := int(stringLen)
  5392. if intStringLen < 0 {
  5393. return ErrInvalidLengthModel
  5394. }
  5395. postIndex := iNdEx + intStringLen
  5396. if postIndex > l {
  5397. return io.ErrUnexpectedEOF
  5398. }
  5399. m.Image = string(dAtA[iNdEx:postIndex])
  5400. iNdEx = postIndex
  5401. case 5:
  5402. if wireType != 2 {
  5403. return fmt.Errorf("proto: wrong wireType = %d for field ImageSmall", wireType)
  5404. }
  5405. var stringLen uint64
  5406. for shift := uint(0); ; shift += 7 {
  5407. if shift >= 64 {
  5408. return ErrIntOverflowModel
  5409. }
  5410. if iNdEx >= l {
  5411. return io.ErrUnexpectedEOF
  5412. }
  5413. b := dAtA[iNdEx]
  5414. iNdEx++
  5415. stringLen |= (uint64(b) & 0x7F) << shift
  5416. if b < 0x80 {
  5417. break
  5418. }
  5419. }
  5420. intStringLen := int(stringLen)
  5421. if intStringLen < 0 {
  5422. return ErrInvalidLengthModel
  5423. }
  5424. postIndex := iNdEx + intStringLen
  5425. if postIndex > l {
  5426. return io.ErrUnexpectedEOF
  5427. }
  5428. m.ImageSmall = string(dAtA[iNdEx:postIndex])
  5429. iNdEx = postIndex
  5430. case 6:
  5431. if wireType != 2 {
  5432. return fmt.Errorf("proto: wrong wireType = %d for field Condition", wireType)
  5433. }
  5434. var stringLen uint64
  5435. for shift := uint(0); ; shift += 7 {
  5436. if shift >= 64 {
  5437. return ErrIntOverflowModel
  5438. }
  5439. if iNdEx >= l {
  5440. return io.ErrUnexpectedEOF
  5441. }
  5442. b := dAtA[iNdEx]
  5443. iNdEx++
  5444. stringLen |= (uint64(b) & 0x7F) << shift
  5445. if b < 0x80 {
  5446. break
  5447. }
  5448. }
  5449. intStringLen := int(stringLen)
  5450. if intStringLen < 0 {
  5451. return ErrInvalidLengthModel
  5452. }
  5453. postIndex := iNdEx + intStringLen
  5454. if postIndex > l {
  5455. return io.ErrUnexpectedEOF
  5456. }
  5457. m.Condition = string(dAtA[iNdEx:postIndex])
  5458. iNdEx = postIndex
  5459. case 7:
  5460. if wireType != 0 {
  5461. return fmt.Errorf("proto: wrong wireType = %d for field GID", wireType)
  5462. }
  5463. m.GID = 0
  5464. for shift := uint(0); ; shift += 7 {
  5465. if shift >= 64 {
  5466. return ErrIntOverflowModel
  5467. }
  5468. if iNdEx >= l {
  5469. return io.ErrUnexpectedEOF
  5470. }
  5471. b := dAtA[iNdEx]
  5472. iNdEx++
  5473. m.GID |= (int64(b) & 0x7F) << shift
  5474. if b < 0x80 {
  5475. break
  5476. }
  5477. }
  5478. case 8:
  5479. if wireType != 0 {
  5480. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  5481. }
  5482. m.Level = 0
  5483. for shift := uint(0); ; shift += 7 {
  5484. if shift >= 64 {
  5485. return ErrIntOverflowModel
  5486. }
  5487. if iNdEx >= l {
  5488. return io.ErrUnexpectedEOF
  5489. }
  5490. b := dAtA[iNdEx]
  5491. iNdEx++
  5492. m.Level |= (int32(b) & 0x7F) << shift
  5493. if b < 0x80 {
  5494. break
  5495. }
  5496. }
  5497. case 9:
  5498. if wireType != 2 {
  5499. return fmt.Errorf("proto: wrong wireType = %d for field LevelRank", wireType)
  5500. }
  5501. var stringLen uint64
  5502. for shift := uint(0); ; shift += 7 {
  5503. if shift >= 64 {
  5504. return ErrIntOverflowModel
  5505. }
  5506. if iNdEx >= l {
  5507. return io.ErrUnexpectedEOF
  5508. }
  5509. b := dAtA[iNdEx]
  5510. iNdEx++
  5511. stringLen |= (uint64(b) & 0x7F) << shift
  5512. if b < 0x80 {
  5513. break
  5514. }
  5515. }
  5516. intStringLen := int(stringLen)
  5517. if intStringLen < 0 {
  5518. return ErrInvalidLengthModel
  5519. }
  5520. postIndex := iNdEx + intStringLen
  5521. if postIndex > l {
  5522. return io.ErrUnexpectedEOF
  5523. }
  5524. m.LevelRank = string(dAtA[iNdEx:postIndex])
  5525. iNdEx = postIndex
  5526. case 10:
  5527. if wireType != 2 {
  5528. return fmt.Errorf("proto: wrong wireType = %d for field LevelDesc", wireType)
  5529. }
  5530. var stringLen uint64
  5531. for shift := uint(0); ; shift += 7 {
  5532. if shift >= 64 {
  5533. return ErrIntOverflowModel
  5534. }
  5535. if iNdEx >= l {
  5536. return io.ErrUnexpectedEOF
  5537. }
  5538. b := dAtA[iNdEx]
  5539. iNdEx++
  5540. stringLen |= (uint64(b) & 0x7F) << shift
  5541. if b < 0x80 {
  5542. break
  5543. }
  5544. }
  5545. intStringLen := int(stringLen)
  5546. if intStringLen < 0 {
  5547. return ErrInvalidLengthModel
  5548. }
  5549. postIndex := iNdEx + intStringLen
  5550. if postIndex > l {
  5551. return io.ErrUnexpectedEOF
  5552. }
  5553. m.LevelDesc = string(dAtA[iNdEx:postIndex])
  5554. iNdEx = postIndex
  5555. case 11:
  5556. if wireType != 0 {
  5557. return fmt.Errorf("proto: wrong wireType = %d for field Sort", wireType)
  5558. }
  5559. m.Sort = 0
  5560. for shift := uint(0); ; shift += 7 {
  5561. if shift >= 64 {
  5562. return ErrIntOverflowModel
  5563. }
  5564. if iNdEx >= l {
  5565. return io.ErrUnexpectedEOF
  5566. }
  5567. b := dAtA[iNdEx]
  5568. iNdEx++
  5569. m.Sort |= (int32(b) & 0x7F) << shift
  5570. if b < 0x80 {
  5571. break
  5572. }
  5573. }
  5574. case 12:
  5575. if wireType != 0 {
  5576. return fmt.Errorf("proto: wrong wireType = %d for field IsOnline", wireType)
  5577. }
  5578. m.IsOnline = 0
  5579. for shift := uint(0); ; shift += 7 {
  5580. if shift >= 64 {
  5581. return ErrIntOverflowModel
  5582. }
  5583. if iNdEx >= l {
  5584. return io.ErrUnexpectedEOF
  5585. }
  5586. b := dAtA[iNdEx]
  5587. iNdEx++
  5588. m.IsOnline |= (int32(b) & 0x7F) << shift
  5589. if b < 0x80 {
  5590. break
  5591. }
  5592. }
  5593. case 13:
  5594. if wireType != 0 {
  5595. return fmt.Errorf("proto: wrong wireType = %d for field IsGet", wireType)
  5596. }
  5597. m.IsGet = 0
  5598. for shift := uint(0); ; shift += 7 {
  5599. if shift >= 64 {
  5600. return ErrIntOverflowModel
  5601. }
  5602. if iNdEx >= l {
  5603. return io.ErrUnexpectedEOF
  5604. }
  5605. b := dAtA[iNdEx]
  5606. iNdEx++
  5607. m.IsGet |= (int32(b) & 0x7F) << shift
  5608. if b < 0x80 {
  5609. break
  5610. }
  5611. }
  5612. case 14:
  5613. if wireType != 0 {
  5614. return fmt.Errorf("proto: wrong wireType = %d for field Ctime", wireType)
  5615. }
  5616. m.Ctime = 0
  5617. for shift := uint(0); ; shift += 7 {
  5618. if shift >= 64 {
  5619. return ErrIntOverflowModel
  5620. }
  5621. if iNdEx >= l {
  5622. return io.ErrUnexpectedEOF
  5623. }
  5624. b := dAtA[iNdEx]
  5625. iNdEx++
  5626. m.Ctime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5627. if b < 0x80 {
  5628. break
  5629. }
  5630. }
  5631. case 15:
  5632. if wireType != 0 {
  5633. return fmt.Errorf("proto: wrong wireType = %d for field Mtime", wireType)
  5634. }
  5635. m.Mtime = 0
  5636. for shift := uint(0); ; shift += 7 {
  5637. if shift >= 64 {
  5638. return ErrIntOverflowModel
  5639. }
  5640. if iNdEx >= l {
  5641. return io.ErrUnexpectedEOF
  5642. }
  5643. b := dAtA[iNdEx]
  5644. iNdEx++
  5645. m.Mtime |= (go_common_library_time.Time(b) & 0x7F) << shift
  5646. if b < 0x80 {
  5647. break
  5648. }
  5649. }
  5650. default:
  5651. iNdEx = preIndex
  5652. skippy, err := skipModel(dAtA[iNdEx:])
  5653. if err != nil {
  5654. return err
  5655. }
  5656. if skippy < 0 {
  5657. return ErrInvalidLengthModel
  5658. }
  5659. if (iNdEx + skippy) > l {
  5660. return io.ErrUnexpectedEOF
  5661. }
  5662. iNdEx += skippy
  5663. }
  5664. }
  5665. if iNdEx > l {
  5666. return io.ErrUnexpectedEOF
  5667. }
  5668. return nil
  5669. }
  5670. func (m *MedalHomeInfo) Unmarshal(dAtA []byte) error {
  5671. l := len(dAtA)
  5672. iNdEx := 0
  5673. for iNdEx < l {
  5674. preIndex := iNdEx
  5675. var wire uint64
  5676. for shift := uint(0); ; shift += 7 {
  5677. if shift >= 64 {
  5678. return ErrIntOverflowModel
  5679. }
  5680. if iNdEx >= l {
  5681. return io.ErrUnexpectedEOF
  5682. }
  5683. b := dAtA[iNdEx]
  5684. iNdEx++
  5685. wire |= (uint64(b) & 0x7F) << shift
  5686. if b < 0x80 {
  5687. break
  5688. }
  5689. }
  5690. fieldNum := int32(wire >> 3)
  5691. wireType := int(wire & 0x7)
  5692. if wireType == 4 {
  5693. return fmt.Errorf("proto: MedalHomeInfo: wiretype end group for non-group")
  5694. }
  5695. if fieldNum <= 0 {
  5696. return fmt.Errorf("proto: MedalHomeInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  5697. }
  5698. switch fieldNum {
  5699. case 1:
  5700. if wireType != 2 {
  5701. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  5702. }
  5703. var stringLen uint64
  5704. for shift := uint(0); ; shift += 7 {
  5705. if shift >= 64 {
  5706. return ErrIntOverflowModel
  5707. }
  5708. if iNdEx >= l {
  5709. return io.ErrUnexpectedEOF
  5710. }
  5711. b := dAtA[iNdEx]
  5712. iNdEx++
  5713. stringLen |= (uint64(b) & 0x7F) << shift
  5714. if b < 0x80 {
  5715. break
  5716. }
  5717. }
  5718. intStringLen := int(stringLen)
  5719. if intStringLen < 0 {
  5720. return ErrInvalidLengthModel
  5721. }
  5722. postIndex := iNdEx + intStringLen
  5723. if postIndex > l {
  5724. return io.ErrUnexpectedEOF
  5725. }
  5726. m.Description = string(dAtA[iNdEx:postIndex])
  5727. iNdEx = postIndex
  5728. case 2:
  5729. if wireType != 2 {
  5730. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  5731. }
  5732. var stringLen uint64
  5733. for shift := uint(0); ; shift += 7 {
  5734. if shift >= 64 {
  5735. return ErrIntOverflowModel
  5736. }
  5737. if iNdEx >= l {
  5738. return io.ErrUnexpectedEOF
  5739. }
  5740. b := dAtA[iNdEx]
  5741. iNdEx++
  5742. stringLen |= (uint64(b) & 0x7F) << shift
  5743. if b < 0x80 {
  5744. break
  5745. }
  5746. }
  5747. intStringLen := int(stringLen)
  5748. if intStringLen < 0 {
  5749. return ErrInvalidLengthModel
  5750. }
  5751. postIndex := iNdEx + intStringLen
  5752. if postIndex > l {
  5753. return io.ErrUnexpectedEOF
  5754. }
  5755. m.Image = string(dAtA[iNdEx:postIndex])
  5756. iNdEx = postIndex
  5757. case 3:
  5758. if wireType != 2 {
  5759. return fmt.Errorf("proto: wrong wireType = %d for field ImageSmall", wireType)
  5760. }
  5761. var stringLen uint64
  5762. for shift := uint(0); ; shift += 7 {
  5763. if shift >= 64 {
  5764. return ErrIntOverflowModel
  5765. }
  5766. if iNdEx >= l {
  5767. return io.ErrUnexpectedEOF
  5768. }
  5769. b := dAtA[iNdEx]
  5770. iNdEx++
  5771. stringLen |= (uint64(b) & 0x7F) << shift
  5772. if b < 0x80 {
  5773. break
  5774. }
  5775. }
  5776. intStringLen := int(stringLen)
  5777. if intStringLen < 0 {
  5778. return ErrInvalidLengthModel
  5779. }
  5780. postIndex := iNdEx + intStringLen
  5781. if postIndex > l {
  5782. return io.ErrUnexpectedEOF
  5783. }
  5784. m.ImageSmall = string(dAtA[iNdEx:postIndex])
  5785. iNdEx = postIndex
  5786. case 4:
  5787. if wireType != 0 {
  5788. return fmt.Errorf("proto: wrong wireType = %d for field IsActivated", wireType)
  5789. }
  5790. m.IsActivated = 0
  5791. for shift := uint(0); ; shift += 7 {
  5792. if shift >= 64 {
  5793. return ErrIntOverflowModel
  5794. }
  5795. if iNdEx >= l {
  5796. return io.ErrUnexpectedEOF
  5797. }
  5798. b := dAtA[iNdEx]
  5799. iNdEx++
  5800. m.IsActivated |= (int32(b) & 0x7F) << shift
  5801. if b < 0x80 {
  5802. break
  5803. }
  5804. }
  5805. case 5:
  5806. if wireType != 2 {
  5807. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  5808. }
  5809. var stringLen uint64
  5810. for shift := uint(0); ; shift += 7 {
  5811. if shift >= 64 {
  5812. return ErrIntOverflowModel
  5813. }
  5814. if iNdEx >= l {
  5815. return io.ErrUnexpectedEOF
  5816. }
  5817. b := dAtA[iNdEx]
  5818. iNdEx++
  5819. stringLen |= (uint64(b) & 0x7F) << shift
  5820. if b < 0x80 {
  5821. break
  5822. }
  5823. }
  5824. intStringLen := int(stringLen)
  5825. if intStringLen < 0 {
  5826. return ErrInvalidLengthModel
  5827. }
  5828. postIndex := iNdEx + intStringLen
  5829. if postIndex > l {
  5830. return io.ErrUnexpectedEOF
  5831. }
  5832. m.Level = string(dAtA[iNdEx:postIndex])
  5833. iNdEx = postIndex
  5834. case 6:
  5835. if wireType != 2 {
  5836. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5837. }
  5838. var stringLen uint64
  5839. for shift := uint(0); ; shift += 7 {
  5840. if shift >= 64 {
  5841. return ErrIntOverflowModel
  5842. }
  5843. if iNdEx >= l {
  5844. return io.ErrUnexpectedEOF
  5845. }
  5846. b := dAtA[iNdEx]
  5847. iNdEx++
  5848. stringLen |= (uint64(b) & 0x7F) << shift
  5849. if b < 0x80 {
  5850. break
  5851. }
  5852. }
  5853. intStringLen := int(stringLen)
  5854. if intStringLen < 0 {
  5855. return ErrInvalidLengthModel
  5856. }
  5857. postIndex := iNdEx + intStringLen
  5858. if postIndex > l {
  5859. return io.ErrUnexpectedEOF
  5860. }
  5861. m.Name = string(dAtA[iNdEx:postIndex])
  5862. iNdEx = postIndex
  5863. case 7:
  5864. if wireType != 0 {
  5865. return fmt.Errorf("proto: wrong wireType = %d for field NID", wireType)
  5866. }
  5867. m.NID = 0
  5868. for shift := uint(0); ; shift += 7 {
  5869. if shift >= 64 {
  5870. return ErrIntOverflowModel
  5871. }
  5872. if iNdEx >= l {
  5873. return io.ErrUnexpectedEOF
  5874. }
  5875. b := dAtA[iNdEx]
  5876. iNdEx++
  5877. m.NID |= (int64(b) & 0x7F) << shift
  5878. if b < 0x80 {
  5879. break
  5880. }
  5881. }
  5882. default:
  5883. iNdEx = preIndex
  5884. skippy, err := skipModel(dAtA[iNdEx:])
  5885. if err != nil {
  5886. return err
  5887. }
  5888. if skippy < 0 {
  5889. return ErrInvalidLengthModel
  5890. }
  5891. if (iNdEx + skippy) > l {
  5892. return io.ErrUnexpectedEOF
  5893. }
  5894. iNdEx += skippy
  5895. }
  5896. }
  5897. if iNdEx > l {
  5898. return io.ErrUnexpectedEOF
  5899. }
  5900. return nil
  5901. }
  5902. func (m *MedalUserInfo) Unmarshal(dAtA []byte) error {
  5903. l := len(dAtA)
  5904. iNdEx := 0
  5905. for iNdEx < l {
  5906. preIndex := iNdEx
  5907. var wire uint64
  5908. for shift := uint(0); ; shift += 7 {
  5909. if shift >= 64 {
  5910. return ErrIntOverflowModel
  5911. }
  5912. if iNdEx >= l {
  5913. return io.ErrUnexpectedEOF
  5914. }
  5915. b := dAtA[iNdEx]
  5916. iNdEx++
  5917. wire |= (uint64(b) & 0x7F) << shift
  5918. if b < 0x80 {
  5919. break
  5920. }
  5921. }
  5922. fieldNum := int32(wire >> 3)
  5923. wireType := int(wire & 0x7)
  5924. if wireType == 4 {
  5925. return fmt.Errorf("proto: MedalUserInfo: wiretype end group for non-group")
  5926. }
  5927. if fieldNum <= 0 {
  5928. return fmt.Errorf("proto: MedalUserInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  5929. }
  5930. switch fieldNum {
  5931. case 1:
  5932. if wireType != 2 {
  5933. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  5934. }
  5935. var stringLen uint64
  5936. for shift := uint(0); ; shift += 7 {
  5937. if shift >= 64 {
  5938. return ErrIntOverflowModel
  5939. }
  5940. if iNdEx >= l {
  5941. return io.ErrUnexpectedEOF
  5942. }
  5943. b := dAtA[iNdEx]
  5944. iNdEx++
  5945. stringLen |= (uint64(b) & 0x7F) << shift
  5946. if b < 0x80 {
  5947. break
  5948. }
  5949. }
  5950. intStringLen := int(stringLen)
  5951. if intStringLen < 0 {
  5952. return ErrInvalidLengthModel
  5953. }
  5954. postIndex := iNdEx + intStringLen
  5955. if postIndex > l {
  5956. return io.ErrUnexpectedEOF
  5957. }
  5958. m.Name = string(dAtA[iNdEx:postIndex])
  5959. iNdEx = postIndex
  5960. case 2:
  5961. if wireType != 2 {
  5962. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  5963. }
  5964. var stringLen uint64
  5965. for shift := uint(0); ; shift += 7 {
  5966. if shift >= 64 {
  5967. return ErrIntOverflowModel
  5968. }
  5969. if iNdEx >= l {
  5970. return io.ErrUnexpectedEOF
  5971. }
  5972. b := dAtA[iNdEx]
  5973. iNdEx++
  5974. stringLen |= (uint64(b) & 0x7F) << shift
  5975. if b < 0x80 {
  5976. break
  5977. }
  5978. }
  5979. intStringLen := int(stringLen)
  5980. if intStringLen < 0 {
  5981. return ErrInvalidLengthModel
  5982. }
  5983. postIndex := iNdEx + intStringLen
  5984. if postIndex > l {
  5985. return io.ErrUnexpectedEOF
  5986. }
  5987. m.Face = string(dAtA[iNdEx:postIndex])
  5988. iNdEx = postIndex
  5989. case 3:
  5990. if wireType != 0 {
  5991. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  5992. }
  5993. m.Level = 0
  5994. for shift := uint(0); ; shift += 7 {
  5995. if shift >= 64 {
  5996. return ErrIntOverflowModel
  5997. }
  5998. if iNdEx >= l {
  5999. return io.ErrUnexpectedEOF
  6000. }
  6001. b := dAtA[iNdEx]
  6002. iNdEx++
  6003. m.Level |= (int32(b) & 0x7F) << shift
  6004. if b < 0x80 {
  6005. break
  6006. }
  6007. }
  6008. case 4:
  6009. if wireType != 0 {
  6010. return fmt.Errorf("proto: wrong wireType = %d for field TrueLove", wireType)
  6011. }
  6012. var v int
  6013. for shift := uint(0); ; shift += 7 {
  6014. if shift >= 64 {
  6015. return ErrIntOverflowModel
  6016. }
  6017. if iNdEx >= l {
  6018. return io.ErrUnexpectedEOF
  6019. }
  6020. b := dAtA[iNdEx]
  6021. iNdEx++
  6022. v |= (int(b) & 0x7F) << shift
  6023. if b < 0x80 {
  6024. break
  6025. }
  6026. }
  6027. m.TrueLove = bool(v != 0)
  6028. case 5:
  6029. if wireType != 0 {
  6030. return fmt.Errorf("proto: wrong wireType = %d for field NID", wireType)
  6031. }
  6032. m.NID = 0
  6033. for shift := uint(0); ; shift += 7 {
  6034. if shift >= 64 {
  6035. return ErrIntOverflowModel
  6036. }
  6037. if iNdEx >= l {
  6038. return io.ErrUnexpectedEOF
  6039. }
  6040. b := dAtA[iNdEx]
  6041. iNdEx++
  6042. m.NID |= (int64(b) & 0x7F) << shift
  6043. if b < 0x80 {
  6044. break
  6045. }
  6046. }
  6047. case 6:
  6048. if wireType != 2 {
  6049. return fmt.Errorf("proto: wrong wireType = %d for field ImageSmall", wireType)
  6050. }
  6051. var stringLen uint64
  6052. for shift := uint(0); ; shift += 7 {
  6053. if shift >= 64 {
  6054. return ErrIntOverflowModel
  6055. }
  6056. if iNdEx >= l {
  6057. return io.ErrUnexpectedEOF
  6058. }
  6059. b := dAtA[iNdEx]
  6060. iNdEx++
  6061. stringLen |= (uint64(b) & 0x7F) << shift
  6062. if b < 0x80 {
  6063. break
  6064. }
  6065. }
  6066. intStringLen := int(stringLen)
  6067. if intStringLen < 0 {
  6068. return ErrInvalidLengthModel
  6069. }
  6070. postIndex := iNdEx + intStringLen
  6071. if postIndex > l {
  6072. return io.ErrUnexpectedEOF
  6073. }
  6074. m.ImageSmall = string(dAtA[iNdEx:postIndex])
  6075. iNdEx = postIndex
  6076. default:
  6077. iNdEx = preIndex
  6078. skippy, err := skipModel(dAtA[iNdEx:])
  6079. if err != nil {
  6080. return err
  6081. }
  6082. if skippy < 0 {
  6083. return ErrInvalidLengthModel
  6084. }
  6085. if (iNdEx + skippy) > l {
  6086. return io.ErrUnexpectedEOF
  6087. }
  6088. iNdEx += skippy
  6089. }
  6090. }
  6091. if iNdEx > l {
  6092. return io.ErrUnexpectedEOF
  6093. }
  6094. return nil
  6095. }
  6096. func (m *MedalPopup) Unmarshal(dAtA []byte) error {
  6097. l := len(dAtA)
  6098. iNdEx := 0
  6099. for iNdEx < l {
  6100. preIndex := iNdEx
  6101. var wire uint64
  6102. for shift := uint(0); ; shift += 7 {
  6103. if shift >= 64 {
  6104. return ErrIntOverflowModel
  6105. }
  6106. if iNdEx >= l {
  6107. return io.ErrUnexpectedEOF
  6108. }
  6109. b := dAtA[iNdEx]
  6110. iNdEx++
  6111. wire |= (uint64(b) & 0x7F) << shift
  6112. if b < 0x80 {
  6113. break
  6114. }
  6115. }
  6116. fieldNum := int32(wire >> 3)
  6117. wireType := int(wire & 0x7)
  6118. if wireType == 4 {
  6119. return fmt.Errorf("proto: MedalPopup: wiretype end group for non-group")
  6120. }
  6121. if fieldNum <= 0 {
  6122. return fmt.Errorf("proto: MedalPopup: illegal tag %d (wire type %d)", fieldNum, wire)
  6123. }
  6124. switch fieldNum {
  6125. case 1:
  6126. if wireType != 0 {
  6127. return fmt.Errorf("proto: wrong wireType = %d for field NID", wireType)
  6128. }
  6129. m.NID = 0
  6130. for shift := uint(0); ; shift += 7 {
  6131. if shift >= 64 {
  6132. return ErrIntOverflowModel
  6133. }
  6134. if iNdEx >= l {
  6135. return io.ErrUnexpectedEOF
  6136. }
  6137. b := dAtA[iNdEx]
  6138. iNdEx++
  6139. m.NID |= (int64(b) & 0x7F) << shift
  6140. if b < 0x80 {
  6141. break
  6142. }
  6143. }
  6144. case 2:
  6145. if wireType != 2 {
  6146. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6147. }
  6148. var stringLen uint64
  6149. for shift := uint(0); ; shift += 7 {
  6150. if shift >= 64 {
  6151. return ErrIntOverflowModel
  6152. }
  6153. if iNdEx >= l {
  6154. return io.ErrUnexpectedEOF
  6155. }
  6156. b := dAtA[iNdEx]
  6157. iNdEx++
  6158. stringLen |= (uint64(b) & 0x7F) << shift
  6159. if b < 0x80 {
  6160. break
  6161. }
  6162. }
  6163. intStringLen := int(stringLen)
  6164. if intStringLen < 0 {
  6165. return ErrInvalidLengthModel
  6166. }
  6167. postIndex := iNdEx + intStringLen
  6168. if postIndex > l {
  6169. return io.ErrUnexpectedEOF
  6170. }
  6171. m.Name = string(dAtA[iNdEx:postIndex])
  6172. iNdEx = postIndex
  6173. case 3:
  6174. if wireType != 2 {
  6175. return fmt.Errorf("proto: wrong wireType = %d for field Image", wireType)
  6176. }
  6177. var stringLen uint64
  6178. for shift := uint(0); ; shift += 7 {
  6179. if shift >= 64 {
  6180. return ErrIntOverflowModel
  6181. }
  6182. if iNdEx >= l {
  6183. return io.ErrUnexpectedEOF
  6184. }
  6185. b := dAtA[iNdEx]
  6186. iNdEx++
  6187. stringLen |= (uint64(b) & 0x7F) << shift
  6188. if b < 0x80 {
  6189. break
  6190. }
  6191. }
  6192. intStringLen := int(stringLen)
  6193. if intStringLen < 0 {
  6194. return ErrInvalidLengthModel
  6195. }
  6196. postIndex := iNdEx + intStringLen
  6197. if postIndex > l {
  6198. return io.ErrUnexpectedEOF
  6199. }
  6200. m.Image = string(dAtA[iNdEx:postIndex])
  6201. iNdEx = postIndex
  6202. default:
  6203. iNdEx = preIndex
  6204. skippy, err := skipModel(dAtA[iNdEx:])
  6205. if err != nil {
  6206. return err
  6207. }
  6208. if skippy < 0 {
  6209. return ErrInvalidLengthModel
  6210. }
  6211. if (iNdEx + skippy) > l {
  6212. return io.ErrUnexpectedEOF
  6213. }
  6214. iNdEx += skippy
  6215. }
  6216. }
  6217. if iNdEx > l {
  6218. return io.ErrUnexpectedEOF
  6219. }
  6220. return nil
  6221. }
  6222. func (m *MedalMyInfo) Unmarshal(dAtA []byte) error {
  6223. l := len(dAtA)
  6224. iNdEx := 0
  6225. for iNdEx < l {
  6226. preIndex := iNdEx
  6227. var wire uint64
  6228. for shift := uint(0); ; shift += 7 {
  6229. if shift >= 64 {
  6230. return ErrIntOverflowModel
  6231. }
  6232. if iNdEx >= l {
  6233. return io.ErrUnexpectedEOF
  6234. }
  6235. b := dAtA[iNdEx]
  6236. iNdEx++
  6237. wire |= (uint64(b) & 0x7F) << shift
  6238. if b < 0x80 {
  6239. break
  6240. }
  6241. }
  6242. fieldNum := int32(wire >> 3)
  6243. wireType := int(wire & 0x7)
  6244. if wireType == 4 {
  6245. return fmt.Errorf("proto: MedalMyInfo: wiretype end group for non-group")
  6246. }
  6247. if fieldNum <= 0 {
  6248. return fmt.Errorf("proto: MedalMyInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  6249. }
  6250. switch fieldNum {
  6251. case 1:
  6252. if wireType != 2 {
  6253. return fmt.Errorf("proto: wrong wireType = %d for field MedalInfo", wireType)
  6254. }
  6255. var msglen int
  6256. for shift := uint(0); ; shift += 7 {
  6257. if shift >= 64 {
  6258. return ErrIntOverflowModel
  6259. }
  6260. if iNdEx >= l {
  6261. return io.ErrUnexpectedEOF
  6262. }
  6263. b := dAtA[iNdEx]
  6264. iNdEx++
  6265. msglen |= (int(b) & 0x7F) << shift
  6266. if b < 0x80 {
  6267. break
  6268. }
  6269. }
  6270. if msglen < 0 {
  6271. return ErrInvalidLengthModel
  6272. }
  6273. postIndex := iNdEx + msglen
  6274. if postIndex > l {
  6275. return io.ErrUnexpectedEOF
  6276. }
  6277. if m.MedalInfo == nil {
  6278. m.MedalInfo = &MedalInfo{}
  6279. }
  6280. if err := m.MedalInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6281. return err
  6282. }
  6283. iNdEx = postIndex
  6284. case 2:
  6285. if wireType != 0 {
  6286. return fmt.Errorf("proto: wrong wireType = %d for field IsActivated", wireType)
  6287. }
  6288. m.IsActivated = 0
  6289. for shift := uint(0); ; shift += 7 {
  6290. if shift >= 64 {
  6291. return ErrIntOverflowModel
  6292. }
  6293. if iNdEx >= l {
  6294. return io.ErrUnexpectedEOF
  6295. }
  6296. b := dAtA[iNdEx]
  6297. iNdEx++
  6298. m.IsActivated |= (int32(b) & 0x7F) << shift
  6299. if b < 0x80 {
  6300. break
  6301. }
  6302. }
  6303. case 3:
  6304. if wireType != 0 {
  6305. return fmt.Errorf("proto: wrong wireType = %d for field IsNewGet", wireType)
  6306. }
  6307. m.IsNewGet = 0
  6308. for shift := uint(0); ; shift += 7 {
  6309. if shift >= 64 {
  6310. return ErrIntOverflowModel
  6311. }
  6312. if iNdEx >= l {
  6313. return io.ErrUnexpectedEOF
  6314. }
  6315. b := dAtA[iNdEx]
  6316. iNdEx++
  6317. m.IsNewGet |= (int32(b) & 0x7F) << shift
  6318. if b < 0x80 {
  6319. break
  6320. }
  6321. }
  6322. case 4:
  6323. if wireType != 0 {
  6324. return fmt.Errorf("proto: wrong wireType = %d for field GetTime", wireType)
  6325. }
  6326. m.GetTime = 0
  6327. for shift := uint(0); ; shift += 7 {
  6328. if shift >= 64 {
  6329. return ErrIntOverflowModel
  6330. }
  6331. if iNdEx >= l {
  6332. return io.ErrUnexpectedEOF
  6333. }
  6334. b := dAtA[iNdEx]
  6335. iNdEx++
  6336. m.GetTime |= (go_common_library_time.Time(b) & 0x7F) << shift
  6337. if b < 0x80 {
  6338. break
  6339. }
  6340. }
  6341. default:
  6342. iNdEx = preIndex
  6343. skippy, err := skipModel(dAtA[iNdEx:])
  6344. if err != nil {
  6345. return err
  6346. }
  6347. if skippy < 0 {
  6348. return ErrInvalidLengthModel
  6349. }
  6350. if (iNdEx + skippy) > l {
  6351. return io.ErrUnexpectedEOF
  6352. }
  6353. iNdEx += skippy
  6354. }
  6355. }
  6356. if iNdEx > l {
  6357. return io.ErrUnexpectedEOF
  6358. }
  6359. return nil
  6360. }
  6361. func (m *MedalMyInfos) Unmarshal(dAtA []byte) error {
  6362. l := len(dAtA)
  6363. iNdEx := 0
  6364. for iNdEx < l {
  6365. preIndex := iNdEx
  6366. var wire uint64
  6367. for shift := uint(0); ; shift += 7 {
  6368. if shift >= 64 {
  6369. return ErrIntOverflowModel
  6370. }
  6371. if iNdEx >= l {
  6372. return io.ErrUnexpectedEOF
  6373. }
  6374. b := dAtA[iNdEx]
  6375. iNdEx++
  6376. wire |= (uint64(b) & 0x7F) << shift
  6377. if b < 0x80 {
  6378. break
  6379. }
  6380. }
  6381. fieldNum := int32(wire >> 3)
  6382. wireType := int(wire & 0x7)
  6383. if wireType == 4 {
  6384. return fmt.Errorf("proto: MedalMyInfos: wiretype end group for non-group")
  6385. }
  6386. if fieldNum <= 0 {
  6387. return fmt.Errorf("proto: MedalMyInfos: illegal tag %d (wire type %d)", fieldNum, wire)
  6388. }
  6389. switch fieldNum {
  6390. case 1:
  6391. if wireType != 0 {
  6392. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  6393. }
  6394. m.Count = 0
  6395. for shift := uint(0); ; shift += 7 {
  6396. if shift >= 64 {
  6397. return ErrIntOverflowModel
  6398. }
  6399. if iNdEx >= l {
  6400. return io.ErrUnexpectedEOF
  6401. }
  6402. b := dAtA[iNdEx]
  6403. iNdEx++
  6404. m.Count |= (int32(b) & 0x7F) << shift
  6405. if b < 0x80 {
  6406. break
  6407. }
  6408. }
  6409. case 2:
  6410. if wireType != 2 {
  6411. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6412. }
  6413. var stringLen uint64
  6414. for shift := uint(0); ; shift += 7 {
  6415. if shift >= 64 {
  6416. return ErrIntOverflowModel
  6417. }
  6418. if iNdEx >= l {
  6419. return io.ErrUnexpectedEOF
  6420. }
  6421. b := dAtA[iNdEx]
  6422. iNdEx++
  6423. stringLen |= (uint64(b) & 0x7F) << shift
  6424. if b < 0x80 {
  6425. break
  6426. }
  6427. }
  6428. intStringLen := int(stringLen)
  6429. if intStringLen < 0 {
  6430. return ErrInvalidLengthModel
  6431. }
  6432. postIndex := iNdEx + intStringLen
  6433. if postIndex > l {
  6434. return io.ErrUnexpectedEOF
  6435. }
  6436. m.Name = string(dAtA[iNdEx:postIndex])
  6437. iNdEx = postIndex
  6438. case 3:
  6439. if wireType != 2 {
  6440. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  6441. }
  6442. var msglen int
  6443. for shift := uint(0); ; shift += 7 {
  6444. if shift >= 64 {
  6445. return ErrIntOverflowModel
  6446. }
  6447. if iNdEx >= l {
  6448. return io.ErrUnexpectedEOF
  6449. }
  6450. b := dAtA[iNdEx]
  6451. iNdEx++
  6452. msglen |= (int(b) & 0x7F) << shift
  6453. if b < 0x80 {
  6454. break
  6455. }
  6456. }
  6457. if msglen < 0 {
  6458. return ErrInvalidLengthModel
  6459. }
  6460. postIndex := iNdEx + msglen
  6461. if postIndex > l {
  6462. return io.ErrUnexpectedEOF
  6463. }
  6464. m.List = append(m.List, &MedalMyInfo{})
  6465. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6466. return err
  6467. }
  6468. iNdEx = postIndex
  6469. default:
  6470. iNdEx = preIndex
  6471. skippy, err := skipModel(dAtA[iNdEx:])
  6472. if err != nil {
  6473. return err
  6474. }
  6475. if skippy < 0 {
  6476. return ErrInvalidLengthModel
  6477. }
  6478. if (iNdEx + skippy) > l {
  6479. return io.ErrUnexpectedEOF
  6480. }
  6481. iNdEx += skippy
  6482. }
  6483. }
  6484. if iNdEx > l {
  6485. return io.ErrUnexpectedEOF
  6486. }
  6487. return nil
  6488. }
  6489. func (m *MedalAllInfos) Unmarshal(dAtA []byte) error {
  6490. l := len(dAtA)
  6491. iNdEx := 0
  6492. for iNdEx < l {
  6493. preIndex := iNdEx
  6494. var wire uint64
  6495. for shift := uint(0); ; shift += 7 {
  6496. if shift >= 64 {
  6497. return ErrIntOverflowModel
  6498. }
  6499. if iNdEx >= l {
  6500. return io.ErrUnexpectedEOF
  6501. }
  6502. b := dAtA[iNdEx]
  6503. iNdEx++
  6504. wire |= (uint64(b) & 0x7F) << shift
  6505. if b < 0x80 {
  6506. break
  6507. }
  6508. }
  6509. fieldNum := int32(wire >> 3)
  6510. wireType := int(wire & 0x7)
  6511. if wireType == 4 {
  6512. return fmt.Errorf("proto: MedalAllInfos: wiretype end group for non-group")
  6513. }
  6514. if fieldNum <= 0 {
  6515. return fmt.Errorf("proto: MedalAllInfos: illegal tag %d (wire type %d)", fieldNum, wire)
  6516. }
  6517. switch fieldNum {
  6518. case 1:
  6519. if wireType != 0 {
  6520. return fmt.Errorf("proto: wrong wireType = %d for field HasActivated", wireType)
  6521. }
  6522. m.HasActivated = 0
  6523. for shift := uint(0); ; shift += 7 {
  6524. if shift >= 64 {
  6525. return ErrIntOverflowModel
  6526. }
  6527. if iNdEx >= l {
  6528. return io.ErrUnexpectedEOF
  6529. }
  6530. b := dAtA[iNdEx]
  6531. iNdEx++
  6532. m.HasActivated |= (int64(b) & 0x7F) << shift
  6533. if b < 0x80 {
  6534. break
  6535. }
  6536. }
  6537. case 2:
  6538. if wireType != 0 {
  6539. return fmt.Errorf("proto: wrong wireType = %d for field RedPoint", wireType)
  6540. }
  6541. var v int
  6542. for shift := uint(0); ; shift += 7 {
  6543. if shift >= 64 {
  6544. return ErrIntOverflowModel
  6545. }
  6546. if iNdEx >= l {
  6547. return io.ErrUnexpectedEOF
  6548. }
  6549. b := dAtA[iNdEx]
  6550. iNdEx++
  6551. v |= (int(b) & 0x7F) << shift
  6552. if b < 0x80 {
  6553. break
  6554. }
  6555. }
  6556. m.RedPoint = bool(v != 0)
  6557. case 3:
  6558. if wireType == 0 {
  6559. var v int64
  6560. for shift := uint(0); ; shift += 7 {
  6561. if shift >= 64 {
  6562. return ErrIntOverflowModel
  6563. }
  6564. if iNdEx >= l {
  6565. return io.ErrUnexpectedEOF
  6566. }
  6567. b := dAtA[iNdEx]
  6568. iNdEx++
  6569. v |= (int64(b) & 0x7F) << shift
  6570. if b < 0x80 {
  6571. break
  6572. }
  6573. }
  6574. m.HasGet = append(m.HasGet, v)
  6575. } else if wireType == 2 {
  6576. var packedLen int
  6577. for shift := uint(0); ; shift += 7 {
  6578. if shift >= 64 {
  6579. return ErrIntOverflowModel
  6580. }
  6581. if iNdEx >= l {
  6582. return io.ErrUnexpectedEOF
  6583. }
  6584. b := dAtA[iNdEx]
  6585. iNdEx++
  6586. packedLen |= (int(b) & 0x7F) << shift
  6587. if b < 0x80 {
  6588. break
  6589. }
  6590. }
  6591. if packedLen < 0 {
  6592. return ErrInvalidLengthModel
  6593. }
  6594. postIndex := iNdEx + packedLen
  6595. if postIndex > l {
  6596. return io.ErrUnexpectedEOF
  6597. }
  6598. for iNdEx < postIndex {
  6599. var v int64
  6600. for shift := uint(0); ; shift += 7 {
  6601. if shift >= 64 {
  6602. return ErrIntOverflowModel
  6603. }
  6604. if iNdEx >= l {
  6605. return io.ErrUnexpectedEOF
  6606. }
  6607. b := dAtA[iNdEx]
  6608. iNdEx++
  6609. v |= (int64(b) & 0x7F) << shift
  6610. if b < 0x80 {
  6611. break
  6612. }
  6613. }
  6614. m.HasGet = append(m.HasGet, v)
  6615. }
  6616. } else {
  6617. return fmt.Errorf("proto: wrong wireType = %d for field HasGet", wireType)
  6618. }
  6619. case 4:
  6620. if wireType != 2 {
  6621. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  6622. }
  6623. var msglen int
  6624. for shift := uint(0); ; shift += 7 {
  6625. if shift >= 64 {
  6626. return ErrIntOverflowModel
  6627. }
  6628. if iNdEx >= l {
  6629. return io.ErrUnexpectedEOF
  6630. }
  6631. b := dAtA[iNdEx]
  6632. iNdEx++
  6633. msglen |= (int(b) & 0x7F) << shift
  6634. if b < 0x80 {
  6635. break
  6636. }
  6637. }
  6638. if msglen < 0 {
  6639. return ErrInvalidLengthModel
  6640. }
  6641. postIndex := iNdEx + msglen
  6642. if postIndex > l {
  6643. return io.ErrUnexpectedEOF
  6644. }
  6645. if m.List == nil {
  6646. m.List = make(map[int64]*MedalCategoryInfo)
  6647. }
  6648. var mapkey int64
  6649. var mapvalue *MedalCategoryInfo
  6650. for iNdEx < postIndex {
  6651. entryPreIndex := iNdEx
  6652. var wire uint64
  6653. for shift := uint(0); ; shift += 7 {
  6654. if shift >= 64 {
  6655. return ErrIntOverflowModel
  6656. }
  6657. if iNdEx >= l {
  6658. return io.ErrUnexpectedEOF
  6659. }
  6660. b := dAtA[iNdEx]
  6661. iNdEx++
  6662. wire |= (uint64(b) & 0x7F) << shift
  6663. if b < 0x80 {
  6664. break
  6665. }
  6666. }
  6667. fieldNum := int32(wire >> 3)
  6668. if fieldNum == 1 {
  6669. for shift := uint(0); ; shift += 7 {
  6670. if shift >= 64 {
  6671. return ErrIntOverflowModel
  6672. }
  6673. if iNdEx >= l {
  6674. return io.ErrUnexpectedEOF
  6675. }
  6676. b := dAtA[iNdEx]
  6677. iNdEx++
  6678. mapkey |= (int64(b) & 0x7F) << shift
  6679. if b < 0x80 {
  6680. break
  6681. }
  6682. }
  6683. } else if fieldNum == 2 {
  6684. var mapmsglen int
  6685. for shift := uint(0); ; shift += 7 {
  6686. if shift >= 64 {
  6687. return ErrIntOverflowModel
  6688. }
  6689. if iNdEx >= l {
  6690. return io.ErrUnexpectedEOF
  6691. }
  6692. b := dAtA[iNdEx]
  6693. iNdEx++
  6694. mapmsglen |= (int(b) & 0x7F) << shift
  6695. if b < 0x80 {
  6696. break
  6697. }
  6698. }
  6699. if mapmsglen < 0 {
  6700. return ErrInvalidLengthModel
  6701. }
  6702. postmsgIndex := iNdEx + mapmsglen
  6703. if mapmsglen < 0 {
  6704. return ErrInvalidLengthModel
  6705. }
  6706. if postmsgIndex > l {
  6707. return io.ErrUnexpectedEOF
  6708. }
  6709. mapvalue = &MedalCategoryInfo{}
  6710. if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  6711. return err
  6712. }
  6713. iNdEx = postmsgIndex
  6714. } else {
  6715. iNdEx = entryPreIndex
  6716. skippy, err := skipModel(dAtA[iNdEx:])
  6717. if err != nil {
  6718. return err
  6719. }
  6720. if skippy < 0 {
  6721. return ErrInvalidLengthModel
  6722. }
  6723. if (iNdEx + skippy) > postIndex {
  6724. return io.ErrUnexpectedEOF
  6725. }
  6726. iNdEx += skippy
  6727. }
  6728. }
  6729. m.List[mapkey] = mapvalue
  6730. iNdEx = postIndex
  6731. default:
  6732. iNdEx = preIndex
  6733. skippy, err := skipModel(dAtA[iNdEx:])
  6734. if err != nil {
  6735. return err
  6736. }
  6737. if skippy < 0 {
  6738. return ErrInvalidLengthModel
  6739. }
  6740. if (iNdEx + skippy) > l {
  6741. return io.ErrUnexpectedEOF
  6742. }
  6743. iNdEx += skippy
  6744. }
  6745. }
  6746. if iNdEx > l {
  6747. return io.ErrUnexpectedEOF
  6748. }
  6749. return nil
  6750. }
  6751. func (m *MedalCategoryInfo) Unmarshal(dAtA []byte) error {
  6752. l := len(dAtA)
  6753. iNdEx := 0
  6754. for iNdEx < l {
  6755. preIndex := iNdEx
  6756. var wire uint64
  6757. for shift := uint(0); ; shift += 7 {
  6758. if shift >= 64 {
  6759. return ErrIntOverflowModel
  6760. }
  6761. if iNdEx >= l {
  6762. return io.ErrUnexpectedEOF
  6763. }
  6764. b := dAtA[iNdEx]
  6765. iNdEx++
  6766. wire |= (uint64(b) & 0x7F) << shift
  6767. if b < 0x80 {
  6768. break
  6769. }
  6770. }
  6771. fieldNum := int32(wire >> 3)
  6772. wireType := int(wire & 0x7)
  6773. if wireType == 4 {
  6774. return fmt.Errorf("proto: MedalCategoryInfo: wiretype end group for non-group")
  6775. }
  6776. if fieldNum <= 0 {
  6777. return fmt.Errorf("proto: MedalCategoryInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  6778. }
  6779. switch fieldNum {
  6780. case 1:
  6781. if wireType != 0 {
  6782. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  6783. }
  6784. m.Count = 0
  6785. for shift := uint(0); ; shift += 7 {
  6786. if shift >= 64 {
  6787. return ErrIntOverflowModel
  6788. }
  6789. if iNdEx >= l {
  6790. return io.ErrUnexpectedEOF
  6791. }
  6792. b := dAtA[iNdEx]
  6793. iNdEx++
  6794. m.Count |= (int32(b) & 0x7F) << shift
  6795. if b < 0x80 {
  6796. break
  6797. }
  6798. }
  6799. case 2:
  6800. if wireType != 2 {
  6801. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  6802. }
  6803. var stringLen uint64
  6804. for shift := uint(0); ; shift += 7 {
  6805. if shift >= 64 {
  6806. return ErrIntOverflowModel
  6807. }
  6808. if iNdEx >= l {
  6809. return io.ErrUnexpectedEOF
  6810. }
  6811. b := dAtA[iNdEx]
  6812. iNdEx++
  6813. stringLen |= (uint64(b) & 0x7F) << shift
  6814. if b < 0x80 {
  6815. break
  6816. }
  6817. }
  6818. intStringLen := int(stringLen)
  6819. if intStringLen < 0 {
  6820. return ErrInvalidLengthModel
  6821. }
  6822. postIndex := iNdEx + intStringLen
  6823. if postIndex > l {
  6824. return io.ErrUnexpectedEOF
  6825. }
  6826. m.Name = string(dAtA[iNdEx:postIndex])
  6827. iNdEx = postIndex
  6828. case 3:
  6829. if wireType != 2 {
  6830. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  6831. }
  6832. var msglen int
  6833. for shift := uint(0); ; shift += 7 {
  6834. if shift >= 64 {
  6835. return ErrIntOverflowModel
  6836. }
  6837. if iNdEx >= l {
  6838. return io.ErrUnexpectedEOF
  6839. }
  6840. b := dAtA[iNdEx]
  6841. iNdEx++
  6842. msglen |= (int(b) & 0x7F) << shift
  6843. if b < 0x80 {
  6844. break
  6845. }
  6846. }
  6847. if msglen < 0 {
  6848. return ErrInvalidLengthModel
  6849. }
  6850. postIndex := iNdEx + msglen
  6851. if postIndex > l {
  6852. return io.ErrUnexpectedEOF
  6853. }
  6854. m.Data = append(m.Data, &MedalItemInfo{})
  6855. if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6856. return err
  6857. }
  6858. iNdEx = postIndex
  6859. default:
  6860. iNdEx = preIndex
  6861. skippy, err := skipModel(dAtA[iNdEx:])
  6862. if err != nil {
  6863. return err
  6864. }
  6865. if skippy < 0 {
  6866. return ErrInvalidLengthModel
  6867. }
  6868. if (iNdEx + skippy) > l {
  6869. return io.ErrUnexpectedEOF
  6870. }
  6871. iNdEx += skippy
  6872. }
  6873. }
  6874. if iNdEx > l {
  6875. return io.ErrUnexpectedEOF
  6876. }
  6877. return nil
  6878. }
  6879. func (m *MedalItemInfo) Unmarshal(dAtA []byte) error {
  6880. l := len(dAtA)
  6881. iNdEx := 0
  6882. for iNdEx < l {
  6883. preIndex := iNdEx
  6884. var wire uint64
  6885. for shift := uint(0); ; shift += 7 {
  6886. if shift >= 64 {
  6887. return ErrIntOverflowModel
  6888. }
  6889. if iNdEx >= l {
  6890. return io.ErrUnexpectedEOF
  6891. }
  6892. b := dAtA[iNdEx]
  6893. iNdEx++
  6894. wire |= (uint64(b) & 0x7F) << shift
  6895. if b < 0x80 {
  6896. break
  6897. }
  6898. }
  6899. fieldNum := int32(wire >> 3)
  6900. wireType := int(wire & 0x7)
  6901. if wireType == 4 {
  6902. return fmt.Errorf("proto: MedalItemInfo: wiretype end group for non-group")
  6903. }
  6904. if fieldNum <= 0 {
  6905. return fmt.Errorf("proto: MedalItemInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  6906. }
  6907. switch fieldNum {
  6908. case 1:
  6909. if wireType != 2 {
  6910. return fmt.Errorf("proto: wrong wireType = %d for field Left", wireType)
  6911. }
  6912. var msglen int
  6913. for shift := uint(0); ; shift += 7 {
  6914. if shift >= 64 {
  6915. return ErrIntOverflowModel
  6916. }
  6917. if iNdEx >= l {
  6918. return io.ErrUnexpectedEOF
  6919. }
  6920. b := dAtA[iNdEx]
  6921. iNdEx++
  6922. msglen |= (int(b) & 0x7F) << shift
  6923. if b < 0x80 {
  6924. break
  6925. }
  6926. }
  6927. if msglen < 0 {
  6928. return ErrInvalidLengthModel
  6929. }
  6930. postIndex := iNdEx + msglen
  6931. if postIndex > l {
  6932. return io.ErrUnexpectedEOF
  6933. }
  6934. if m.Left == nil {
  6935. m.Left = &MedalInfo{}
  6936. }
  6937. if err := m.Left.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6938. return err
  6939. }
  6940. iNdEx = postIndex
  6941. case 2:
  6942. if wireType != 0 {
  6943. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  6944. }
  6945. m.Count = 0
  6946. for shift := uint(0); ; shift += 7 {
  6947. if shift >= 64 {
  6948. return ErrIntOverflowModel
  6949. }
  6950. if iNdEx >= l {
  6951. return io.ErrUnexpectedEOF
  6952. }
  6953. b := dAtA[iNdEx]
  6954. iNdEx++
  6955. m.Count |= (int32(b) & 0x7F) << shift
  6956. if b < 0x80 {
  6957. break
  6958. }
  6959. }
  6960. case 3:
  6961. if wireType != 2 {
  6962. return fmt.Errorf("proto: wrong wireType = %d for field Right", wireType)
  6963. }
  6964. var msglen int
  6965. for shift := uint(0); ; shift += 7 {
  6966. if shift >= 64 {
  6967. return ErrIntOverflowModel
  6968. }
  6969. if iNdEx >= l {
  6970. return io.ErrUnexpectedEOF
  6971. }
  6972. b := dAtA[iNdEx]
  6973. iNdEx++
  6974. msglen |= (int(b) & 0x7F) << shift
  6975. if b < 0x80 {
  6976. break
  6977. }
  6978. }
  6979. if msglen < 0 {
  6980. return ErrInvalidLengthModel
  6981. }
  6982. postIndex := iNdEx + msglen
  6983. if postIndex > l {
  6984. return io.ErrUnexpectedEOF
  6985. }
  6986. m.Right = append(m.Right, &MedalInfo{})
  6987. if err := m.Right[len(m.Right)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  6988. return err
  6989. }
  6990. iNdEx = postIndex
  6991. default:
  6992. iNdEx = preIndex
  6993. skippy, err := skipModel(dAtA[iNdEx:])
  6994. if err != nil {
  6995. return err
  6996. }
  6997. if skippy < 0 {
  6998. return ErrInvalidLengthModel
  6999. }
  7000. if (iNdEx + skippy) > l {
  7001. return io.ErrUnexpectedEOF
  7002. }
  7003. iNdEx += skippy
  7004. }
  7005. }
  7006. if iNdEx > l {
  7007. return io.ErrUnexpectedEOF
  7008. }
  7009. return nil
  7010. }
  7011. func (m *PointFlag) Unmarshal(dAtA []byte) error {
  7012. l := len(dAtA)
  7013. iNdEx := 0
  7014. for iNdEx < l {
  7015. preIndex := iNdEx
  7016. var wire uint64
  7017. for shift := uint(0); ; shift += 7 {
  7018. if shift >= 64 {
  7019. return ErrIntOverflowModel
  7020. }
  7021. if iNdEx >= l {
  7022. return io.ErrUnexpectedEOF
  7023. }
  7024. b := dAtA[iNdEx]
  7025. iNdEx++
  7026. wire |= (uint64(b) & 0x7F) << shift
  7027. if b < 0x80 {
  7028. break
  7029. }
  7030. }
  7031. fieldNum := int32(wire >> 3)
  7032. wireType := int(wire & 0x7)
  7033. if wireType == 4 {
  7034. return fmt.Errorf("proto: PointFlag: wiretype end group for non-group")
  7035. }
  7036. if fieldNum <= 0 {
  7037. return fmt.Errorf("proto: PointFlag: illegal tag %d (wire type %d)", fieldNum, wire)
  7038. }
  7039. switch fieldNum {
  7040. case 1:
  7041. if wireType != 0 {
  7042. return fmt.Errorf("proto: wrong wireType = %d for field Pendant", wireType)
  7043. }
  7044. var v int
  7045. for shift := uint(0); ; shift += 7 {
  7046. if shift >= 64 {
  7047. return ErrIntOverflowModel
  7048. }
  7049. if iNdEx >= l {
  7050. return io.ErrUnexpectedEOF
  7051. }
  7052. b := dAtA[iNdEx]
  7053. iNdEx++
  7054. v |= (int(b) & 0x7F) << shift
  7055. if b < 0x80 {
  7056. break
  7057. }
  7058. }
  7059. m.Pendant = bool(v != 0)
  7060. case 2:
  7061. if wireType != 0 {
  7062. return fmt.Errorf("proto: wrong wireType = %d for field Medal", wireType)
  7063. }
  7064. var v int
  7065. for shift := uint(0); ; shift += 7 {
  7066. if shift >= 64 {
  7067. return ErrIntOverflowModel
  7068. }
  7069. if iNdEx >= l {
  7070. return io.ErrUnexpectedEOF
  7071. }
  7072. b := dAtA[iNdEx]
  7073. iNdEx++
  7074. v |= (int(b) & 0x7F) << shift
  7075. if b < 0x80 {
  7076. break
  7077. }
  7078. }
  7079. m.Medal = bool(v != 0)
  7080. default:
  7081. iNdEx = preIndex
  7082. skippy, err := skipModel(dAtA[iNdEx:])
  7083. if err != nil {
  7084. return err
  7085. }
  7086. if skippy < 0 {
  7087. return ErrInvalidLengthModel
  7088. }
  7089. if (iNdEx + skippy) > l {
  7090. return io.ErrUnexpectedEOF
  7091. }
  7092. iNdEx += skippy
  7093. }
  7094. }
  7095. if iNdEx > l {
  7096. return io.ErrUnexpectedEOF
  7097. }
  7098. return nil
  7099. }
  7100. func skipModel(dAtA []byte) (n int, err error) {
  7101. l := len(dAtA)
  7102. iNdEx := 0
  7103. for iNdEx < l {
  7104. var wire uint64
  7105. for shift := uint(0); ; shift += 7 {
  7106. if shift >= 64 {
  7107. return 0, ErrIntOverflowModel
  7108. }
  7109. if iNdEx >= l {
  7110. return 0, io.ErrUnexpectedEOF
  7111. }
  7112. b := dAtA[iNdEx]
  7113. iNdEx++
  7114. wire |= (uint64(b) & 0x7F) << shift
  7115. if b < 0x80 {
  7116. break
  7117. }
  7118. }
  7119. wireType := int(wire & 0x7)
  7120. switch wireType {
  7121. case 0:
  7122. for shift := uint(0); ; shift += 7 {
  7123. if shift >= 64 {
  7124. return 0, ErrIntOverflowModel
  7125. }
  7126. if iNdEx >= l {
  7127. return 0, io.ErrUnexpectedEOF
  7128. }
  7129. iNdEx++
  7130. if dAtA[iNdEx-1] < 0x80 {
  7131. break
  7132. }
  7133. }
  7134. return iNdEx, nil
  7135. case 1:
  7136. iNdEx += 8
  7137. return iNdEx, nil
  7138. case 2:
  7139. var length int
  7140. for shift := uint(0); ; shift += 7 {
  7141. if shift >= 64 {
  7142. return 0, ErrIntOverflowModel
  7143. }
  7144. if iNdEx >= l {
  7145. return 0, io.ErrUnexpectedEOF
  7146. }
  7147. b := dAtA[iNdEx]
  7148. iNdEx++
  7149. length |= (int(b) & 0x7F) << shift
  7150. if b < 0x80 {
  7151. break
  7152. }
  7153. }
  7154. iNdEx += length
  7155. if length < 0 {
  7156. return 0, ErrInvalidLengthModel
  7157. }
  7158. return iNdEx, nil
  7159. case 3:
  7160. for {
  7161. var innerWire uint64
  7162. var start int = iNdEx
  7163. for shift := uint(0); ; shift += 7 {
  7164. if shift >= 64 {
  7165. return 0, ErrIntOverflowModel
  7166. }
  7167. if iNdEx >= l {
  7168. return 0, io.ErrUnexpectedEOF
  7169. }
  7170. b := dAtA[iNdEx]
  7171. iNdEx++
  7172. innerWire |= (uint64(b) & 0x7F) << shift
  7173. if b < 0x80 {
  7174. break
  7175. }
  7176. }
  7177. innerWireType := int(innerWire & 0x7)
  7178. if innerWireType == 4 {
  7179. break
  7180. }
  7181. next, err := skipModel(dAtA[start:])
  7182. if err != nil {
  7183. return 0, err
  7184. }
  7185. iNdEx = start + next
  7186. }
  7187. return iNdEx, nil
  7188. case 4:
  7189. return iNdEx, nil
  7190. case 5:
  7191. iNdEx += 4
  7192. return iNdEx, nil
  7193. default:
  7194. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  7195. }
  7196. }
  7197. panic("unreachable")
  7198. }
  7199. var (
  7200. ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling")
  7201. ErrIntOverflowModel = fmt.Errorf("proto: integer overflow")
  7202. )
  7203. func init() { proto.RegisterFile("app/service/main/usersuit/model/model.proto", fileDescriptorModel) }
  7204. var fileDescriptorModel = []byte{
  7205. // 2187 bytes of a gzipped FileDescriptorProto
  7206. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcb, 0x6e, 0x1b, 0xc9,
  7207. 0xd5, 0xfe, 0x9b, 0xcd, 0xe6, 0xe5, 0x50, 0x96, 0xe4, 0xf6, 0x0c, 0x4c, 0xcf, 0xf8, 0x77, 0x3b,
  7208. 0x3d, 0x17, 0xdf, 0xa5, 0xb1, 0x06, 0x33, 0x08, 0x82, 0x6c, 0x44, 0xc9, 0x63, 0x11, 0x91, 0x65,
  7209. 0xa1, 0x6c, 0x67, 0x91, 0x0d, 0xd1, 0x24, 0x4b, 0xad, 0x82, 0xd8, 0x97, 0xe9, 0x8b, 0x1c, 0x3e,
  7210. 0x40, 0xb2, 0x49, 0x56, 0x59, 0x25, 0xdb, 0x3c, 0x41, 0x16, 0x59, 0x64, 0x15, 0x20, 0xc8, 0x22,
  7211. 0x59, 0x0e, 0x10, 0x64, 0xdb, 0x08, 0x84, 0xac, 0xf8, 0x08, 0x59, 0x05, 0xe7, 0x54, 0xf5, 0x45,
  7212. 0x14, 0x65, 0xca, 0x98, 0x6c, 0xba, 0xab, 0x4e, 0x9d, 0xba, 0x7d, 0xf5, 0x9d, 0xaf, 0x4e, 0x37,
  7213. 0x3c, 0x72, 0xc2, 0x70, 0x33, 0xe6, 0xd1, 0xa9, 0x18, 0xf1, 0x4d, 0xcf, 0x11, 0xfe, 0x66, 0x1a,
  7214. 0xf3, 0x28, 0x4e, 0x45, 0xb2, 0xe9, 0x05, 0x63, 0x3e, 0x91, 0xcf, 0x8d, 0x30, 0x0a, 0x92, 0xc0,
  7215. 0xec, 0x3a, 0xa3, 0x51, 0x90, 0xfa, 0xc9, 0x86, 0xea, 0xb0, 0x91, 0xfb, 0x7e, 0xf4, 0xc4, 0x15,
  7216. 0xc9, 0x71, 0x3a, 0xdc, 0x18, 0x05, 0xde, 0xa6, 0x1b, 0xb8, 0xc1, 0x26, 0x75, 0x18, 0xa6, 0x47,
  7217. 0x54, 0xa3, 0x0a, 0x95, 0xe4, 0x40, 0xf6, 0x3f, 0x34, 0xb8, 0xbe, 0x1d, 0xb9, 0x87, 0xdc, 0x1f,
  7218. 0x3b, 0x7e, 0xb2, 0x27, 0xe2, 0x24, 0x88, 0xa6, 0xe6, 0x2d, 0xd0, 0x3d, 0x31, 0xee, 0x6a, 0x77,
  7219. 0xb5, 0xfb, 0x7a, 0xaf, 0x39, 0xcb, 0x2c, 0xac, 0x32, 0x7c, 0x98, 0x9b, 0xd0, 0x89, 0x83, 0x34,
  7220. 0x1a, 0xf1, 0x41, 0x32, 0x0d, 0x79, 0xb7, 0x76, 0x57, 0xbb, 0x6f, 0xf4, 0x56, 0x67, 0x99, 0x05,
  7221. 0xd2, 0xfc, 0x7a, 0x1a, 0x72, 0x56, 0x29, 0x9b, 0x8f, 0x01, 0xe2, 0xc4, 0x89, 0x92, 0x41, 0x22,
  7222. 0x3c, 0xde, 0xd5, 0x69, 0xc8, 0x6b, 0xb3, 0xcc, 0x6a, 0x93, 0xf5, 0xb5, 0xf0, 0x38, 0x2b, 0x8b,
  7223. 0xe6, 0xe7, 0xd0, 0xe2, 0xfe, 0x58, 0xfa, 0xd6, 0xc9, 0xb7, 0x33, 0xcb, 0xac, 0x26, 0xf7, 0xc7,
  7224. 0xe4, 0x99, 0x17, 0xcc, 0xdb, 0x50, 0x0f, 0x1d, 0x97, 0x77, 0x0d, 0xf2, 0x69, 0xcd, 0x32, 0x8b,
  7225. 0xea, 0x8c, 0x9e, 0xf6, 0xbf, 0x6b, 0xb0, 0xb6, 0x1d, 0xb9, 0x2f, 0xa3, 0x31, 0x8f, 0xf2, 0x3d,
  7226. 0x7d, 0x01, 0xad, 0x00, 0xeb, 0x03, 0xb5, 0xb1, 0x76, 0xef, 0xc3, 0xb3, 0xcc, 0x6a, 0x92, 0x4f,
  7227. 0x7f, 0x77, 0x96, 0x59, 0x8d, 0x80, 0x4a, 0xac, 0x49, 0x6e, 0xfd, 0xb1, 0xf9, 0x00, 0x1a, 0xa1,
  7228. 0x33, 0x45, 0xff, 0x1a, 0xf9, 0x9b, 0x67, 0x99, 0x65, 0x1c, 0x3a, 0x53, 0xf2, 0x36, 0x42, 0x2c,
  7229. 0x30, 0x7a, 0x8d, 0x73, 0xc0, 0xf4, 0x05, 0x80, 0xdd, 0x02, 0x3d, 0x14, 0x63, 0xb5, 0x19, 0x6a,
  7230. 0x0a, 0xb1, 0x29, 0x14, 0x63, 0xd3, 0x86, 0x46, 0x9c, 0x38, 0x49, 0x1a, 0xd3, 0x36, 0x8c, 0x1e,
  7231. 0xe0, 0x2a, 0xa4, 0x85, 0xa9, 0x37, 0x02, 0x82, 0x8b, 0x20, 0xb0, 0x1b, 0xe4, 0x45, 0x80, 0x84,
  7232. 0xce, 0x94, 0x90, 0xce, 0x0b, 0x73, 0x30, 0x37, 0xdf, 0x03, 0xe6, 0xd6, 0x15, 0x60, 0x6e, 0x2f,
  7233. 0x84, 0xf9, 0xcf, 0x3a, 0xac, 0x2b, 0xe6, 0x3c, 0x8f, 0x82, 0x34, 0xec, 0xfb, 0x47, 0x81, 0x79,
  7234. 0x1b, 0x6a, 0x05, 0x75, 0x56, 0xce, 0x32, 0xab, 0x46, 0x70, 0xd5, 0xc4, 0x98, 0xd5, 0x68, 0xcb,
  7235. 0x75, 0xdf, 0xf1, 0xb8, 0x42, 0x94, 0x78, 0xe3, 0x62, 0xd7, 0x01, 0x5a, 0x19, 0xb5, 0xe1, 0xa4,
  7236. 0x91, 0xe3, 0x9f, 0x10, 0x9a, 0x86, 0x9c, 0x14, 0xeb, 0x8c, 0x9e, 0x15, 0xd0, 0xea, 0x97, 0x82,
  7237. 0x66, 0x81, 0x21, 0xbc, 0x9c, 0x1e, 0xed, 0x5e, 0x1b, 0xcf, 0x8b, 0x0c, 0x4c, 0xbe, 0xcc, 0x2f,
  7238. 0xa0, 0x43, 0x85, 0x01, 0x05, 0x15, 0x01, 0xdb, 0xee, 0xad, 0xcd, 0x32, 0xab, 0x6a, 0x66, 0x40,
  7239. 0x95, 0x17, 0x58, 0x36, 0x37, 0x60, 0xed, 0x28, 0xe2, 0xdf, 0xa6, 0xdc, 0x1f, 0x4d, 0x07, 0x13,
  7240. 0xe1, 0x89, 0x84, 0x40, 0x36, 0x7a, 0xc6, 0x2c, 0xb3, 0xb4, 0x27, 0x6c, 0xb5, 0x68, 0xdd, 0xc7,
  7241. 0x46, 0xf3, 0x53, 0x00, 0x44, 0x57, 0xb9, 0xb6, 0xaa, 0xae, 0x6d, 0x6c, 0x90, 0x5e, 0xf7, 0xa0,
  7242. 0xe1, 0xa7, 0xde, 0x90, 0x47, 0x0a, 0x61, 0x5a, 0x82, 0x04, 0x84, 0xe2, 0x9b, 0xa9, 0x66, 0xf3,
  7243. 0x35, 0x74, 0xe2, 0x74, 0x38, 0x08, 0x25, 0xda, 0x5d, 0xb8, 0xab, 0xdf, 0xef, 0x6c, 0xfd, 0x60,
  7244. 0xe3, 0x32, 0x19, 0xd8, 0x50, 0xc7, 0xd2, 0x5b, 0x9f, 0x65, 0xd6, 0x8a, 0xea, 0x35, 0x10, 0xfe,
  7245. 0x51, 0xc0, 0x20, 0x4e, 0x87, 0xaa, 0xd5, 0x1e, 0xc2, 0x4a, 0xf5, 0xfc, 0x96, 0x9c, 0xdd, 0x2d,
  7246. 0xd0, 0x5d, 0x15, 0x0c, 0x8a, 0xc9, 0x2e, 0x32, 0xd9, 0x2d, 0x49, 0xae, 0x5f, 0x24, 0xb9, 0xfd,
  7247. 0x4b, 0xad, 0x98, 0xe4, 0x30, 0x12, 0x23, 0xbe, 0x7c, 0x92, 0xf0, 0xfc, 0x24, 0x45, 0xb8, 0xdc,
  7248. 0x86, 0x3a, 0x85, 0x81, 0x5e, 0x92, 0x11, 0xeb, 0x8c, 0x9e, 0x78, 0xe6, 0x21, 0x8e, 0xaf, 0x22,
  7249. 0x8d, 0xce, 0x9c, 0x0c, 0x4c, 0xbe, 0xec, 0x3f, 0xd4, 0x60, 0x75, 0x4e, 0xe7, 0x96, 0x2e, 0xc5,
  7250. 0x3b, 0xbf, 0x94, 0xf9, 0xa0, 0x5e, 0xb0, 0x5f, 0xa4, 0x56, 0x55, 0x20, 0x25, 0x49, 0xe9, 0x5c,
  7251. 0x2b, 0xe6, 0x73, 0x0a, 0x69, 0x43, 0x83, 0xff, 0x3c, 0x14, 0x51, 0xae, 0x66, 0xc4, 0x68, 0x69,
  7252. 0x61, 0xea, 0x6d, 0x7e, 0x0d, 0xd7, 0x82, 0x90, 0x47, 0x4e, 0x12, 0x44, 0x14, 0x2a, 0x8a, 0xb2,
  7253. 0xd7, 0x67, 0x99, 0x85, 0x0d, 0x4e, 0x94, 0x37, 0xb0, 0x95, 0xdc, 0xef, 0x00, 0x63, 0xe9, 0xc7,
  7254. 0xb0, 0x56, 0xf4, 0x73, 0x46, 0x89, 0x08, 0x7c, 0x45, 0xdb, 0x1b, 0xb3, 0xcc, 0x5a, 0x2b, 0x7a,
  7255. 0xca, 0x26, 0xb6, 0x9a, 0xfb, 0x6e, 0x53, 0xdd, 0xfe, 0xb5, 0x51, 0x04, 0xb8, 0xd4, 0x49, 0x0c,
  7256. 0xf0, 0x8f, 0x2b, 0xa0, 0x75, 0x0a, 0xd0, 0xb4, 0xc1, 0x32, 0xcc, 0xb6, 0x2a, 0x02, 0xac, 0xd3,
  7257. 0xea, 0x6f, 0x9e, 0x17, 0xe0, 0xa2, 0xb9, 0x94, 0xe0, 0x87, 0x85, 0x04, 0xd7, 0xa9, 0xc7, 0x8d,
  7258. 0xaa, 0x04, 0xab, 0xa6, 0x5c, 0x83, 0xef, 0x55, 0x94, 0x52, 0x02, 0xb9, 0x82, 0x83, 0xe6, 0xb6,
  7259. 0x52, 0x2a, 0x1f, 0x42, 0x1b, 0x8d, 0x92, 0x2d, 0x88, 0xa3, 0x26, 0x95, 0xb2, 0x30, 0x32, 0xec,
  7260. 0x24, 0xc9, 0xfa, 0x10, 0x1a, 0x4e, 0x18, 0xe2, 0x02, 0xa4, 0xa4, 0xd2, 0x02, 0xb6, 0xc3, 0x50,
  7261. 0x2e, 0x40, 0x36, 0x31, 0xc3, 0x09, 0xc3, 0x7e, 0x2e, 0xe7, 0x69, 0x12, 0xab, 0x70, 0x9f, 0x57,
  7262. 0xa6, 0x34, 0x89, 0x73, 0xe2, 0xb4, 0x17, 0x13, 0x47, 0x2a, 0x06, 0xf7, 0xdd, 0xe4, 0xb8, 0x0b,
  7263. 0xa5, 0x20, 0x54, 0xcc, 0x8c, 0x54, 0x65, 0x9f, 0xca, 0x18, 0x10, 0xa3, 0x20, 0x4e, 0xba, 0x1d,
  7264. 0xc2, 0x86, 0x02, 0x02, 0xeb, 0x8c, 0x9e, 0x88, 0xc7, 0x30, 0x9d, 0x4a, 0x8d, 0x5f, 0x29, 0xf1,
  7265. 0xc8, 0x6d, 0xac, 0x39, 0x4c, 0xa7, 0x24, 0xf2, 0x28, 0x86, 0xf1, 0x60, 0xe4, 0x4c, 0x26, 0x43,
  7266. 0x67, 0x74, 0xd2, 0xbd, 0x56, 0x32, 0xb6, 0x62, 0x66, 0x20, 0xe2, 0x1d, 0x55, 0x46, 0x36, 0xe6,
  7267. 0x76, 0x39, 0xfe, 0x2a, 0x8d, 0x4f, 0x6c, 0x3c, 0xd7, 0xc0, 0x56, 0xf2, 0x2a, 0xcd, 0x54, 0xe8,
  7268. 0xf2, 0xda, 0x25, 0xba, 0x7c, 0x5b, 0x5d, 0x0f, 0xeb, 0xe5, 0x8e, 0xca, 0x8b, 0xc1, 0xfe, 0xad,
  7269. 0x06, 0x4d, 0x3c, 0x7c, 0x64, 0xe1, 0xd6, 0x85, 0xeb, 0x7c, 0x39, 0x9b, 0x1e, 0x40, 0x5b, 0x1a,
  7270. 0xfd, 0xd4, 0x53, 0x37, 0xd0, 0x4a, 0xe9, 0xe9, 0x07, 0x4c, 0x96, 0x0e, 0x52, 0xcf, 0xdc, 0x00,
  7271. 0xa4, 0xcb, 0x20, 0x8d, 0x26, 0x8a, 0xab, 0x98, 0x2c, 0x34, 0x0e, 0x9d, 0xe9, 0x1b, 0xb6, 0xaf,
  7272. 0xee, 0x5f, 0x6c, 0x64, 0xc8, 0xc1, 0x37, 0xd1, 0xc4, 0xfe, 0x85, 0x0e, 0x4d, 0x15, 0x29, 0xe6,
  7273. 0xff, 0x57, 0x02, 0xe4, 0x5a, 0x11, 0x20, 0x74, 0xd0, 0x35, 0x29, 0x63, 0x95, 0x2b, 0x70, 0x6e,
  7274. 0x8f, 0x25, 0x44, 0xfa, 0xd5, 0xae, 0xae, 0xfa, 0xf2, 0xab, 0xeb, 0x2a, 0x69, 0x06, 0x51, 0x49,
  7275. 0xf8, 0x14, 0x0e, 0x7a, 0x4e, 0x25, 0xe1, 0x33, 0x7a, 0x92, 0xb6, 0x06, 0xc2, 0x4f, 0x54, 0x10,
  7276. 0x48, 0x6d, 0x45, 0x03, 0x93, 0x2f, 0xf3, 0x3e, 0x18, 0x43, 0xea, 0x2f, 0x93, 0x09, 0xca, 0x94,
  7277. 0x7a, 0x3b, 0x81, 0xf0, 0xd1, 0x93, 0x5a, 0x98, 0x7c, 0x99, 0x9f, 0x42, 0x53, 0x4a, 0x5a, 0xac,
  7278. 0x82, 0xa0, 0xaa, 0x76, 0x79, 0x53, 0x7e, 0xd5, 0xc0, 0x82, 0xab, 0x26, 0xcf, 0x0e, 0x3a, 0x8b,
  7279. 0xb2, 0x03, 0xfb, 0x2f, 0xa5, 0xc8, 0x1f, 0x3a, 0xa3, 0x13, 0xc9, 0xa9, 0xff, 0xbd, 0xc8, 0x57,
  7280. 0x76, 0x51, 0xbf, 0x7c, 0x17, 0xf9, 0x85, 0x65, 0x2c, 0xbc, 0xb0, 0xca, 0x63, 0x69, 0x5c, 0x7a,
  7281. 0x2c, 0x0f, 0xa0, 0x21, 0xe2, 0xc1, 0xa9, 0x08, 0x95, 0x6a, 0x13, 0xb0, 0xfd, 0xf8, 0xa7, 0xfd,
  7282. 0x43, 0xe2, 0x05, 0x16, 0x18, 0xbe, 0x44, 0x68, 0xee, 0x41, 0x33, 0xcf, 0x0e, 0xf0, 0x10, 0xae,
  7283. 0x94, 0x1d, 0xc8, 0x54, 0x52, 0x56, 0x58, 0x5e, 0xb0, 0xff, 0x58, 0xde, 0xd8, 0xcf, 0xbe, 0x4d,
  7284. 0x45, 0xf8, 0xae, 0xcf, 0x81, 0x77, 0x5c, 0xd7, 0x15, 0x8c, 0xf4, 0xcb, 0x31, 0xaa, 0x2c, 0xbb,
  7285. 0xfe, 0xfd, 0x96, 0xfd, 0x27, 0x0d, 0xd6, 0x29, 0x8d, 0x51, 0x6e, 0xfb, 0x22, 0x4e, 0xcc, 0x4d,
  7286. 0x80, 0xf0, 0xc4, 0x7d, 0xa6, 0xd6, 0xa1, 0x95, 0x9a, 0x1a, 0x9e, 0xb8, 0x03, 0xb5, 0x06, 0x56,
  7287. 0x71, 0x31, 0x1f, 0x43, 0x3b, 0x3c, 0x71, 0x5f, 0xc9, 0x83, 0xa9, 0x7c, 0xdd, 0xa0, 0xbf, 0x3a,
  7288. 0x9c, 0xd2, 0xc1, 0x7c, 0x56, 0xae, 0x5e, 0xbf, 0xea, 0xea, 0x5b, 0xdf, 0x65, 0x96, 0x36, 0xcb,
  7289. 0xac, 0xff, 0x2b, 0x97, 0xfe, 0x37, 0x03, 0xda, 0x2f, 0xf8, 0xd8, 0x99, 0x90, 0xb4, 0xdd, 0x84,
  7290. 0x5a, 0x7f, 0xb7, 0x8a, 0xb6, 0x8f, 0x5c, 0xed, 0xef, 0x22, 0x9f, 0x0e, 0x16, 0x2a, 0x07, 0x5d,
  7291. 0xf5, 0x4f, 0xa1, 0xb3, 0xcb, 0xe3, 0x51, 0x24, 0x42, 0xba, 0xe6, 0xf5, 0x52, 0x18, 0xc6, 0xa5,
  7292. 0x99, 0x55, 0x7d, 0x30, 0xae, 0xfb, 0x24, 0x36, 0xf5, 0x0b, 0x62, 0x43, 0x76, 0x84, 0x8f, 0x0a,
  7293. 0xaf, 0x3c, 0x67, 0x32, 0x51, 0xd9, 0x74, 0x45, 0x6b, 0x62, 0x34, 0xb3, 0x8a, 0x8b, 0xf9, 0x08,
  7294. 0xda, 0x3b, 0x81, 0x3f, 0x16, 0xb4, 0x04, 0x99, 0xa3, 0xd0, 0xdd, 0x3a, 0xca, 0x8d, 0xac, 0x6c,
  7295. 0x47, 0xf2, 0x3c, 0xef, 0xef, 0x2a, 0x51, 0x29, 0xa3, 0xfc, 0x79, 0x7f, 0xd7, 0x7c, 0x00, 0xc6,
  7296. 0x3e, 0x3f, 0xe5, 0x13, 0x75, 0x95, 0x52, 0xb6, 0x32, 0x41, 0xc3, 0xe3, 0xc0, 0x13, 0x09, 0xf7,
  7297. 0xc2, 0x64, 0xca, 0xa4, 0x87, 0xf9, 0x35, 0xb4, 0xa9, 0xc0, 0x50, 0x15, 0xda, 0x34, 0x65, 0x77,
  7298. 0x96, 0x59, 0x1f, 0x90, 0xfb, 0x00, 0x55, 0xa1, 0xd2, 0xa7, 0x74, 0x2d, 0xfa, 0x21, 0x20, 0xa4,
  7299. 0x34, 0xe7, 0xfa, 0x21, 0x66, 0x17, 0xfa, 0xa1, 0xab, 0xf9, 0x39, 0xd4, 0x5f, 0x05, 0x51, 0xa2,
  7300. 0x04, 0xc8, 0x9c, 0x65, 0xd6, 0x6a, 0x1c, 0x44, 0x49, 0xc5, 0x99, 0xda, 0xcd, 0x2f, 0xa1, 0xd5,
  7301. 0x8f, 0x5f, 0xfa, 0x13, 0xe1, 0xcb, 0xfb, 0xd7, 0xe8, 0xdd, 0x9c, 0x65, 0xd6, 0x0d, 0x11, 0x0f,
  7302. 0x02, 0x32, 0x56, 0x3a, 0x14, 0x8e, 0xe6, 0x43, 0x30, 0xfa, 0xf1, 0x73, 0x9e, 0xa8, 0x5b, 0xf8,
  7303. 0x83, 0x59, 0x66, 0xad, 0x8b, 0x78, 0xe0, 0xf2, 0xea, 0xf8, 0xd2, 0xc5, 0xdc, 0x03, 0x63, 0xa7,
  7304. 0x72, 0xfb, 0x6e, 0x21, 0x46, 0x23, 0x34, 0x94, 0xae, 0xff, 0xc9, 0xac, 0x8f, 0xdd, 0xe0, 0xc9,
  7305. 0x28, 0xf0, 0xbc, 0xc0, 0xdf, 0x9c, 0x88, 0x61, 0xe4, 0x44, 0xd3, 0x4d, 0xf4, 0xd9, 0xa0, 0x0f,
  7306. 0x3d, 0x39, 0x00, 0x8e, 0xf4, 0x82, 0x46, 0x5a, 0x2b, 0x47, 0xf2, 0xde, 0x73, 0x24, 0x1a, 0xc0,
  7307. 0xfe, 0x7d, 0x0d, 0xae, 0x11, 0x93, 0xf7, 0x02, 0x8f, 0x13, 0x9b, 0xe7, 0x68, 0xa9, 0xbd, 0x0f,
  7308. 0x2d, 0x6b, 0x57, 0xa2, 0xa5, 0xbe, 0x9c, 0x96, 0x5b, 0xd0, 0xe9, 0xc7, 0x98, 0xd4, 0x9e, 0x3a,
  7309. 0x09, 0x1f, 0xab, 0xa4, 0x9c, 0xbe, 0x8d, 0x44, 0x4c, 0xc9, 0x2f, 0xd9, 0x59, 0xd5, 0x09, 0x57,
  7310. 0x21, 0x29, 0x58, 0xf9, 0x88, 0x24, 0x6e, 0xe4, 0xc4, 0xcb, 0xc3, 0xb1, 0xb1, 0x30, 0x1c, 0x6f,
  7311. 0x81, 0x7e, 0x70, 0x9e, 0xdc, 0x18, 0xc6, 0x68, 0xb3, 0xcf, 0x34, 0x05, 0xd2, 0x9b, 0x58, 0xe5,
  7312. 0xd4, 0xf9, 0x50, 0xda, 0xc2, 0xa1, 0x6e, 0x43, 0xfd, 0x1b, 0x67, 0x74, 0x2e, 0xee, 0x8f, 0x9c,
  7313. 0x11, 0x67, 0x64, 0x2d, 0xd7, 0x29, 0xbf, 0x97, 0x2f, 0xae, 0xf3, 0x3e, 0xb4, 0x5e, 0x47, 0x29,
  7314. 0xdf, 0x0f, 0x4e, 0x65, 0xa0, 0xb7, 0x64, 0xd6, 0x93, 0x44, 0x29, 0x9f, 0x04, 0xa7, 0x9c, 0x15,
  7315. 0xad, 0xf9, 0x9a, 0x8d, 0x8b, 0x6b, 0x9e, 0x83, 0xbc, 0xb1, 0x14, 0x72, 0xfb, 0x08, 0x80, 0xf6,
  7316. 0x78, 0x18, 0x84, 0x69, 0x98, 0x8f, 0xac, 0x2d, 0x18, 0xf9, 0xdd, 0xaa, 0x56, 0x70, 0x41, 0x5f,
  7317. 0xcc, 0x05, 0xfb, 0x57, 0x35, 0xe8, 0xd0, 0x44, 0x2f, 0x64, 0x62, 0xf8, 0x93, 0x8a, 0x94, 0xd2,
  7318. 0x7c, 0x9d, 0xad, 0x4f, 0x2e, 0x17, 0xe5, 0xc2, 0xb5, 0x22, 0xcb, 0x15, 0x29, 0x9e, 0xe3, 0x4d,
  7319. 0xed, 0x2a, 0xbc, 0x79, 0x88, 0x71, 0x7f, 0xc0, 0xdf, 0x62, 0x14, 0xeb, 0xe5, 0x05, 0x22, 0xe2,
  7320. 0x81, 0xcf, 0xdf, 0x62, 0x24, 0xb3, 0xa2, 0xdd, 0x7c, 0x09, 0xcd, 0xe7, 0x9c, 0x7e, 0xc9, 0xa8,
  7321. 0x3c, 0xe2, 0xab, 0x59, 0x66, 0x99, 0x2e, 0x97, 0xbf, 0x71, 0xae, 0x1e, 0x7d, 0xf9, 0x28, 0xf6,
  7322. 0x6f, 0x34, 0x58, 0xa9, 0xa0, 0x41, 0xbf, 0x42, 0x76, 0x70, 0xeb, 0x04, 0x85, 0x62, 0x87, 0xfc,
  7323. 0xb5, 0x20, 0xed, 0x4b, 0xe0, 0xdf, 0x81, 0x3a, 0xde, 0xa3, 0x5d, 0x9d, 0x7e, 0x38, 0x7c, 0xb6,
  7324. 0x04, 0x48, 0x39, 0xa9, 0x1c, 0x64, 0x22, 0xf0, 0x4b, 0x04, 0x3b, 0xdb, 0xff, 0xcc, 0x45, 0x61,
  7325. 0x7b, 0x32, 0x91, 0xab, 0xfa, 0x0a, 0x56, 0xf6, 0x9c, 0x0a, 0xb0, 0x5a, 0xf9, 0xfd, 0x70, 0xec,
  7326. 0x54, 0x91, 0x3d, 0xe7, 0x66, 0x3e, 0x85, 0x16, 0xe3, 0xe3, 0x43, 0x4a, 0x45, 0x6b, 0xc4, 0xe4,
  7327. 0x0f, 0x67, 0x99, 0x75, 0x5d, 0xc4, 0x83, 0xf8, 0x38, 0x78, 0x3b, 0x88, 0xf8, 0x78, 0x20, 0xd3,
  7328. 0xd2, 0xc2, 0xcd, 0xfc, 0x04, 0x1a, 0x7b, 0x4e, 0x2c, 0xcf, 0x42, 0xcf, 0xff, 0x73, 0xe1, 0x1c,
  7329. 0x78, 0x10, 0xaa, 0xc9, 0x7c, 0xa9, 0x76, 0x59, 0xa7, 0x5d, 0x3e, 0x5d, 0xb2, 0xcb, 0x7c, 0x17,
  7330. 0x1b, 0xd8, 0xe7, 0x99, 0x9f, 0x44, 0xd3, 0xf9, 0x1d, 0x7f, 0x34, 0x86, 0x76, 0xd1, 0x68, 0xae,
  7331. 0x83, 0x7e, 0xc2, 0xa7, 0x72, 0x8f, 0x0c, 0x8b, 0xe6, 0x36, 0x18, 0xa7, 0xce, 0x24, 0x95, 0xa0,
  7332. 0x77, 0xb6, 0x1e, 0x2d, 0x99, 0x70, 0xc7, 0x49, 0xb8, 0x1b, 0x44, 0x04, 0x2e, 0x93, 0x3d, 0x7f,
  7333. 0x54, 0xfb, 0xa1, 0x66, 0xff, 0x4e, 0x83, 0xeb, 0x17, 0x1c, 0xbe, 0xef, 0x89, 0x3f, 0x83, 0xfa,
  7334. 0xae, 0x93, 0x38, 0xea, 0xc4, 0xef, 0x2d, 0x0b, 0x9d, 0x84, 0x7b, 0xe5, 0x99, 0x8f, 0x9d, 0xc4,
  7335. 0x61, 0xd4, 0xdd, 0xfe, 0x6b, 0xae, 0x71, 0xb9, 0x87, 0xb9, 0x0d, 0xf5, 0x7d, 0x7e, 0x94, 0xbc,
  7336. 0x57, 0x4c, 0x12, 0xac, 0xfc, 0x08, 0x61, 0xe5, 0x47, 0x49, 0xb9, 0xb5, 0xda, 0x25, 0x5b, 0x3b,
  7337. 0x00, 0x83, 0x09, 0xf7, 0x38, 0xe7, 0xeb, 0x95, 0x26, 0xa1, 0xdc, 0x22, 0xc2, 0x5e, 0xd5, 0x2b,
  7338. 0x96, 0x86, 0xb1, 0x5f, 0x41, 0x9b, 0x68, 0xf4, 0xcd, 0xc4, 0x71, 0xcd, 0xcf, 0x8a, 0x4f, 0x3c,
  7339. 0xda, 0x43, 0x6b, 0x2e, 0x0f, 0xcd, 0x3f, 0xff, 0x2c, 0x30, 0x68, 0x70, 0xc5, 0x50, 0x5a, 0xa4,
  7340. 0x87, 0x06, 0x26, 0xed, 0xbd, 0x1b, 0x7f, 0x3f, 0xbb, 0xa3, 0x7d, 0x77, 0x76, 0x47, 0xfb, 0xd7,
  7341. 0xd9, 0x1d, 0xed, 0x67, 0x06, 0x7d, 0xb0, 0x0d, 0x1b, 0xf4, 0x3f, 0xfe, 0xcb, 0xff, 0x06, 0x00,
  7342. 0x00, 0xff, 0xff, 0xd1, 0x33, 0x4c, 0x86, 0x07, 0x18, 0x00, 0x00,
  7343. }