123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209 |
- // Code generated by protoc-gen-gogo. DO NOT EDIT.
- // source: gift.proto
- package v1
- import proto "github.com/gogo/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "github.com/gogo/protobuf/gogoproto"
- import encoding_binary "encoding/binary"
- import io "io"
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
- type From int32
- const (
- From_None From = 0
- From_Gold From = 1
- From_Silver From = 2
- )
- var From_name = map[int32]string{
- 0: "None",
- 1: "Gold",
- 2: "Silver",
- }
- var From_value = map[string]int32{
- "None": 0,
- "Gold": 1,
- "Silver": 2,
- }
- func (x From) String() string {
- return proto.EnumName(From_name, int32(x))
- }
- func (From) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{0}
- }
- type UserAction int32
- const (
- UserAction_ActionNone UserAction = 0
- UserAction_StopPush UserAction = 1
- )
- var UserAction_name = map[int32]string{
- 0: "ActionNone",
- 1: "StopPush",
- }
- var UserAction_value = map[string]int32{
- "ActionNone": 0,
- "StopPush": 1,
- }
- func (x UserAction) String() string {
- return proto.EnumName(UserAction_name, int32(x))
- }
- func (UserAction) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1}
- }
- type DailyBagReq struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagReq) Reset() { *m = DailyBagReq{} }
- func (m *DailyBagReq) String() string { return proto.CompactTextString(m) }
- func (*DailyBagReq) ProtoMessage() {}
- func (*DailyBagReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{0}
- }
- func (m *DailyBagReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagReq.Merge(dst, src)
- }
- func (m *DailyBagReq) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagReq) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagReq proto.InternalMessageInfo
- type DailyBagResp struct {
- BagStatus int64 `protobuf:"varint,1,opt,name=bag_status,json=bagStatus,proto3" json:"bag_status"`
- BagExpireStatus int64 `protobuf:"varint,2,opt,name=bag_expire_status,json=bagExpireStatus,proto3" json:"bag_expire_status"`
- BagToast *DailyBagResp_BagToast `protobuf:"bytes,3,opt,name=bag_toast,json=bagToast" json:"bag_toast"`
- BagList []*DailyBagResp_BagList `protobuf:"bytes,4,rep,name=bag_list,json=bagList" json:"bag_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp) Reset() { *m = DailyBagResp{} }
- func (m *DailyBagResp) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp) ProtoMessage() {}
- func (*DailyBagResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1}
- }
- func (m *DailyBagResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp.Merge(dst, src)
- }
- func (m *DailyBagResp) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp proto.InternalMessageInfo
- type DailyBagResp_BagToast struct {
- ToastStatus int64 `protobuf:"varint,1,opt,name=toast_status,json=toastStatus,proto3" json:"toast_status"`
- ToastMessage string `protobuf:"bytes,2,opt,name=toast_message,json=toastMessage,proto3" json:"toast_message"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagToast) Reset() { *m = DailyBagResp_BagToast{} }
- func (m *DailyBagResp_BagToast) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagToast) ProtoMessage() {}
- func (*DailyBagResp_BagToast) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1, 0}
- }
- func (m *DailyBagResp_BagToast) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagToast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagToast.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagToast) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagToast.Merge(dst, src)
- }
- func (m *DailyBagResp_BagToast) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagToast) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagToast.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagToast proto.InternalMessageInfo
- type DailyBagResp_BagList struct {
- Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
- BagName string `protobuf:"bytes,2,opt,name=bag_name,json=bagName,proto3" json:"bag_name"`
- Source *DailyBagResp_BagList_Source `protobuf:"bytes,3,opt,name=source" json:"source"`
- GiftList []*DailyBagResp_BagList_GiftList `protobuf:"bytes,4,rep,name=gift_list,json=giftList" json:"gift_list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList) Reset() { *m = DailyBagResp_BagList{} }
- func (m *DailyBagResp_BagList) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList) ProtoMessage() {}
- func (*DailyBagResp_BagList) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1}
- }
- func (m *DailyBagResp_BagList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList proto.InternalMessageInfo
- type DailyBagResp_BagList_Source struct {
- MedalId int64 `protobuf:"varint,1,opt,name=medal_id,json=medalId,proto3" json:"medal_id"`
- MedalName string `protobuf:"bytes,2,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
- Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level"`
- UserLevel int64 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList_Source) Reset() { *m = DailyBagResp_BagList_Source{} }
- func (m *DailyBagResp_BagList_Source) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList_Source) ProtoMessage() {}
- func (*DailyBagResp_BagList_Source) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1, 0}
- }
- func (m *DailyBagResp_BagList_Source) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList_Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList_Source.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList_Source) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList_Source.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList_Source) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList_Source) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList_Source.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList_Source proto.InternalMessageInfo
- type DailyBagResp_BagList_GiftList struct {
- GiftId string `protobuf:"bytes,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`
- GiftNum int64 `protobuf:"varint,2,opt,name=gift_num,json=giftNum,proto3" json:"gift_num"`
- ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *DailyBagResp_BagList_GiftList) Reset() { *m = DailyBagResp_BagList_GiftList{} }
- func (m *DailyBagResp_BagList_GiftList) String() string { return proto.CompactTextString(m) }
- func (*DailyBagResp_BagList_GiftList) ProtoMessage() {}
- func (*DailyBagResp_BagList_GiftList) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1, 1}
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_DailyBagResp_BagList_GiftList.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *DailyBagResp_BagList_GiftList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DailyBagResp_BagList_GiftList.Merge(dst, src)
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_Size() int {
- return m.Size()
- }
- func (m *DailyBagResp_BagList_GiftList) XXX_DiscardUnknown() {
- xxx_messageInfo_DailyBagResp_BagList_GiftList.DiscardUnknown(m)
- }
- var xxx_messageInfo_DailyBagResp_BagList_GiftList proto.InternalMessageInfo
- type GiftConfigReq struct {
- Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
- Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty" form:"build"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigReq) Reset() { *m = GiftConfigReq{} }
- func (m *GiftConfigReq) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigReq) ProtoMessage() {}
- func (*GiftConfigReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{2}
- }
- func (m *GiftConfigReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigReq.Merge(dst, src)
- }
- func (m *GiftConfigReq) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigReq) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigReq proto.InternalMessageInfo
- type GiftConfigResp struct {
- List []*GiftConfigResp_Config `protobuf:"bytes,1,rep,name=list" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp) Reset() { *m = GiftConfigResp{} }
- func (m *GiftConfigResp) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp) ProtoMessage() {}
- func (*GiftConfigResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{3}
- }
- func (m *GiftConfigResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp.Merge(dst, src)
- }
- func (m *GiftConfigResp) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp proto.InternalMessageInfo
- type GiftConfigResp_Config struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"`
- Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"`
- CoinType string `protobuf:"bytes,5,opt,name=coin_type,json=coinType,proto3" json:"coin_type"`
- BagGift int64 `protobuf:"varint,6,opt,name=bag_gift,json=bagGift,proto3" json:"bag_gift"`
- Effect int64 `protobuf:"varint,7,opt,name=effect,proto3" json:"effect"`
- CornerMark string `protobuf:"bytes,8,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"`
- Broadcast int64 `protobuf:"varint,9,opt,name=broadcast,proto3" json:"broadcast"`
- Draw int64 `protobuf:"varint,10,opt,name=draw,proto3" json:"draw"`
- StayTime int64 `protobuf:"varint,11,opt,name=stay_time,json=stayTime,proto3" json:"stay_time"`
- AnimationFrameNum int64 `protobuf:"varint,12,opt,name=animation_frame_num,json=animationFrameNum,proto3" json:"animation_frame_num"`
- Desc string `protobuf:"bytes,13,opt,name=desc,proto3" json:"desc"`
- Rule string `protobuf:"bytes,14,opt,name=rule,proto3" json:"rule"`
- Rights string `protobuf:"bytes,15,opt,name=rights,proto3" json:"rights"`
- PrivilegeRequired int64 `protobuf:"varint,16,opt,name=privilege_required,json=privilegeRequired,proto3" json:"privilege_required"`
- CountMap []*GiftConfigResp_CountMap `protobuf:"bytes,17,rep,name=count_map,json=countMap" json:"count_map"`
- ImgBasic string `protobuf:"bytes,18,opt,name=img_basic,json=imgBasic,proto3" json:"img_basic"`
- ImgDynamic string `protobuf:"bytes,19,opt,name=img_dynamic,json=imgDynamic,proto3" json:"img_dynamic"`
- FrameAnimation string `protobuf:"bytes,20,opt,name=frame_animation,json=frameAnimation,proto3" json:"frame_animation"`
- Gif string `protobuf:"bytes,21,opt,name=gif,proto3" json:"gif"`
- Webp string `protobuf:"bytes,22,opt,name=webp,proto3" json:"webp"`
- FullScWeb string `protobuf:"bytes,23,opt,name=full_sc_web,json=fullScWeb,proto3" json:"full_sc_web"`
- FullScHorizontal string `protobuf:"bytes,24,opt,name=full_sc_horizontal,json=fullScHorizontal,proto3" json:"full_sc_horizontal"`
- FullScVertical string `protobuf:"bytes,25,opt,name=full_sc_vertical,json=fullScVertical,proto3" json:"full_sc_vertical"`
- FullScHorizontalSvga string `protobuf:"bytes,26,opt,name=full_sc_horizontal_svga,json=fullScHorizontalSvga,proto3" json:"full_sc_horizontal_svga"`
- FullScVerticalSvga string `protobuf:"bytes,27,opt,name=full_sc_vertical_svga,json=fullScVerticalSvga,proto3" json:"full_sc_vertical_svga"`
- BulletHead string `protobuf:"bytes,28,opt,name=bullet_head,json=bulletHead,proto3" json:"bullet_head"`
- BulletTail string `protobuf:"bytes,29,opt,name=bullet_tail,json=bulletTail,proto3" json:"bullet_tail"`
- LimitInterval int64 `protobuf:"varint,30,opt,name=limit_interval,json=limitInterval,proto3" json:"limit_interval"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp_Config) Reset() { *m = GiftConfigResp_Config{} }
- func (m *GiftConfigResp_Config) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp_Config) ProtoMessage() {}
- func (*GiftConfigResp_Config) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{3, 0}
- }
- func (m *GiftConfigResp_Config) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp_Config.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp_Config) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp_Config.Merge(dst, src)
- }
- func (m *GiftConfigResp_Config) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp_Config) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp_Config.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp_Config proto.InternalMessageInfo
- type GiftConfigResp_CountMap struct {
- Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
- Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GiftConfigResp_CountMap) Reset() { *m = GiftConfigResp_CountMap{} }
- func (m *GiftConfigResp_CountMap) String() string { return proto.CompactTextString(m) }
- func (*GiftConfigResp_CountMap) ProtoMessage() {}
- func (*GiftConfigResp_CountMap) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{3, 1}
- }
- func (m *GiftConfigResp_CountMap) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *GiftConfigResp_CountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_GiftConfigResp_CountMap.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *GiftConfigResp_CountMap) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GiftConfigResp_CountMap.Merge(dst, src)
- }
- func (m *GiftConfigResp_CountMap) XXX_Size() int {
- return m.Size()
- }
- func (m *GiftConfigResp_CountMap) XXX_DiscardUnknown() {
- xxx_messageInfo_GiftConfigResp_CountMap.DiscardUnknown(m)
- }
- var xxx_messageInfo_GiftConfigResp_CountMap proto.InternalMessageInfo
- type NeedTipRechargeReq struct {
- // 来源 1金瓜子 2 银瓜子
- From From `protobuf:"varint,1,opt,name=from,proto3,enum=live.approom.v1.From" json:"from,omitempty" form:"from" validate:"required"`
- // 需要的金瓜子 如果From=2 那么直接传0
- NeedGold int64 `protobuf:"varint,2,opt,name=needGold,proto3" json:"needGold,omitempty" form:"needGold"`
- // 平台 android ios
- Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeedTipRechargeReq) Reset() { *m = NeedTipRechargeReq{} }
- func (m *NeedTipRechargeReq) String() string { return proto.CompactTextString(m) }
- func (*NeedTipRechargeReq) ProtoMessage() {}
- func (*NeedTipRechargeReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{4}
- }
- func (m *NeedTipRechargeReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *NeedTipRechargeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_NeedTipRechargeReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *NeedTipRechargeReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeedTipRechargeReq.Merge(dst, src)
- }
- func (m *NeedTipRechargeReq) XXX_Size() int {
- return m.Size()
- }
- func (m *NeedTipRechargeReq) XXX_DiscardUnknown() {
- xxx_messageInfo_NeedTipRechargeReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeedTipRechargeReq proto.InternalMessageInfo
- type NeedTipRechargeResp struct {
- // 是否展示
- Show int32 `protobuf:"varint,1,opt,name=show,proto3" json:"show"`
- // bp
- Bp float32 `protobuf:"fixed32,2,opt,name=bp,proto3" json:"bp"`
- // bp券
- BpCoupon float32 `protobuf:"fixed32,3,opt,name=bpCoupon,proto3" json:"bpCoupon"`
- // 需要充值的金瓜子
- RechargeGold int64 `protobuf:"varint,4,opt,name=rechargeGold,proto3" json:"rechargeGold"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *NeedTipRechargeResp) Reset() { *m = NeedTipRechargeResp{} }
- func (m *NeedTipRechargeResp) String() string { return proto.CompactTextString(m) }
- func (*NeedTipRechargeResp) ProtoMessage() {}
- func (*NeedTipRechargeResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{5}
- }
- func (m *NeedTipRechargeResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *NeedTipRechargeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_NeedTipRechargeResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *NeedTipRechargeResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NeedTipRechargeResp.Merge(dst, src)
- }
- func (m *NeedTipRechargeResp) XXX_Size() int {
- return m.Size()
- }
- func (m *NeedTipRechargeResp) XXX_DiscardUnknown() {
- xxx_messageInfo_NeedTipRechargeResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_NeedTipRechargeResp proto.InternalMessageInfo
- type TipRechargeActionReq struct {
- // 来源 1金瓜子 2 银瓜子
- From From `protobuf:"varint,1,opt,name=from,proto3,enum=live.approom.v1.From" json:"from,omitempty" form:"from" validate:"required"`
- // 行为 1 停止推送
- Action UserAction `protobuf:"varint,2,opt,name=action,proto3,enum=live.approom.v1.UserAction" json:"action,omitempty" form:"action" validate:"required"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TipRechargeActionReq) Reset() { *m = TipRechargeActionReq{} }
- func (m *TipRechargeActionReq) String() string { return proto.CompactTextString(m) }
- func (*TipRechargeActionReq) ProtoMessage() {}
- func (*TipRechargeActionReq) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{6}
- }
- func (m *TipRechargeActionReq) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *TipRechargeActionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TipRechargeActionReq.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *TipRechargeActionReq) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TipRechargeActionReq.Merge(dst, src)
- }
- func (m *TipRechargeActionReq) XXX_Size() int {
- return m.Size()
- }
- func (m *TipRechargeActionReq) XXX_DiscardUnknown() {
- xxx_messageInfo_TipRechargeActionReq.DiscardUnknown(m)
- }
- var xxx_messageInfo_TipRechargeActionReq proto.InternalMessageInfo
- type TipRechargeActionResp struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *TipRechargeActionResp) Reset() { *m = TipRechargeActionResp{} }
- func (m *TipRechargeActionResp) String() string { return proto.CompactTextString(m) }
- func (*TipRechargeActionResp) ProtoMessage() {}
- func (*TipRechargeActionResp) Descriptor() ([]byte, []int) {
- return fileDescriptor_gift_0ba80813e5e87937, []int{7}
- }
- func (m *TipRechargeActionResp) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
- }
- func (m *TipRechargeActionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TipRechargeActionResp.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalTo(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
- }
- func (dst *TipRechargeActionResp) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TipRechargeActionResp.Merge(dst, src)
- }
- func (m *TipRechargeActionResp) XXX_Size() int {
- return m.Size()
- }
- func (m *TipRechargeActionResp) XXX_DiscardUnknown() {
- xxx_messageInfo_TipRechargeActionResp.DiscardUnknown(m)
- }
- var xxx_messageInfo_TipRechargeActionResp proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*DailyBagReq)(nil), "live.approom.v1.DailyBagReq")
- proto.RegisterType((*DailyBagResp)(nil), "live.approom.v1.DailyBagResp")
- proto.RegisterType((*DailyBagResp_BagToast)(nil), "live.approom.v1.DailyBagResp.BagToast")
- proto.RegisterType((*DailyBagResp_BagList)(nil), "live.approom.v1.DailyBagResp.BagList")
- proto.RegisterType((*DailyBagResp_BagList_Source)(nil), "live.approom.v1.DailyBagResp.BagList.Source")
- proto.RegisterType((*DailyBagResp_BagList_GiftList)(nil), "live.approom.v1.DailyBagResp.BagList.GiftList")
- proto.RegisterType((*GiftConfigReq)(nil), "live.approom.v1.GiftConfigReq")
- proto.RegisterType((*GiftConfigResp)(nil), "live.approom.v1.GiftConfigResp")
- proto.RegisterType((*GiftConfigResp_Config)(nil), "live.approom.v1.GiftConfigResp.Config")
- proto.RegisterType((*GiftConfigResp_CountMap)(nil), "live.approom.v1.GiftConfigResp.CountMap")
- proto.RegisterType((*NeedTipRechargeReq)(nil), "live.approom.v1.NeedTipRechargeReq")
- proto.RegisterType((*NeedTipRechargeResp)(nil), "live.approom.v1.NeedTipRechargeResp")
- proto.RegisterType((*TipRechargeActionReq)(nil), "live.approom.v1.TipRechargeActionReq")
- proto.RegisterType((*TipRechargeActionResp)(nil), "live.approom.v1.TipRechargeActionResp")
- proto.RegisterEnum("live.approom.v1.From", From_name, From_value)
- proto.RegisterEnum("live.approom.v1.UserAction", UserAction_name, UserAction_value)
- }
- func (m *DailyBagReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.BagStatus != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.BagStatus))
- }
- if m.BagExpireStatus != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.BagExpireStatus))
- }
- if m.BagToast != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.BagToast.Size()))
- n1, err := m.BagToast.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n1
- }
- if len(m.BagList) > 0 {
- for _, msg := range m.BagList {
- dAtA[i] = 0x22
- i++
- i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagToast) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagToast) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.ToastStatus != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.ToastStatus))
- }
- if len(m.ToastMessage) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.ToastMessage)))
- i += copy(dAtA[i:], m.ToastMessage)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Type != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Type))
- }
- if len(m.BagName) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.BagName)))
- i += copy(dAtA[i:], m.BagName)
- }
- if m.Source != nil {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Source.Size()))
- n2, err := m.Source.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n2
- }
- if len(m.GiftList) > 0 {
- for _, msg := range m.GiftList {
- dAtA[i] = 0x22
- i++
- i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList_Source) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList_Source) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.MedalId != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.MedalId))
- }
- if len(m.MedalName) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.MedalName)))
- i += copy(dAtA[i:], m.MedalName)
- }
- if m.Level != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Level))
- }
- if m.UserLevel != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.UserLevel))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *DailyBagResp_BagList_GiftList) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *DailyBagResp_BagList_GiftList) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.GiftId) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.GiftId)))
- i += copy(dAtA[i:], m.GiftId)
- }
- if m.GiftNum != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.GiftNum))
- }
- if m.ExpireAt != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.ExpireAt))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.Platform) > 0 {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.Build != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Build))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, msg := range m.List {
- dAtA[i] = 0xa
- i++
- i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp_Config) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp_Config) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Id != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Id))
- }
- if len(m.Name) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Name)))
- i += copy(dAtA[i:], m.Name)
- }
- if m.Price != 0 {
- dAtA[i] = 0x18
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Price))
- }
- if m.Type != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Type))
- }
- if len(m.CoinType) > 0 {
- dAtA[i] = 0x2a
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.CoinType)))
- i += copy(dAtA[i:], m.CoinType)
- }
- if m.BagGift != 0 {
- dAtA[i] = 0x30
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.BagGift))
- }
- if m.Effect != 0 {
- dAtA[i] = 0x38
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Effect))
- }
- if len(m.CornerMark) > 0 {
- dAtA[i] = 0x42
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.CornerMark)))
- i += copy(dAtA[i:], m.CornerMark)
- }
- if m.Broadcast != 0 {
- dAtA[i] = 0x48
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Broadcast))
- }
- if m.Draw != 0 {
- dAtA[i] = 0x50
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Draw))
- }
- if m.StayTime != 0 {
- dAtA[i] = 0x58
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.StayTime))
- }
- if m.AnimationFrameNum != 0 {
- dAtA[i] = 0x60
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.AnimationFrameNum))
- }
- if len(m.Desc) > 0 {
- dAtA[i] = 0x6a
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Desc)))
- i += copy(dAtA[i:], m.Desc)
- }
- if len(m.Rule) > 0 {
- dAtA[i] = 0x72
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Rule)))
- i += copy(dAtA[i:], m.Rule)
- }
- if len(m.Rights) > 0 {
- dAtA[i] = 0x7a
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Rights)))
- i += copy(dAtA[i:], m.Rights)
- }
- if m.PrivilegeRequired != 0 {
- dAtA[i] = 0x80
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.PrivilegeRequired))
- }
- if len(m.CountMap) > 0 {
- for _, msg := range m.CountMap {
- dAtA[i] = 0x8a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
- n, err := msg.MarshalTo(dAtA[i:])
- if err != nil {
- return 0, err
- }
- i += n
- }
- }
- if len(m.ImgBasic) > 0 {
- dAtA[i] = 0x92
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.ImgBasic)))
- i += copy(dAtA[i:], m.ImgBasic)
- }
- if len(m.ImgDynamic) > 0 {
- dAtA[i] = 0x9a
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.ImgDynamic)))
- i += copy(dAtA[i:], m.ImgDynamic)
- }
- if len(m.FrameAnimation) > 0 {
- dAtA[i] = 0xa2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FrameAnimation)))
- i += copy(dAtA[i:], m.FrameAnimation)
- }
- if len(m.Gif) > 0 {
- dAtA[i] = 0xaa
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Gif)))
- i += copy(dAtA[i:], m.Gif)
- }
- if len(m.Webp) > 0 {
- dAtA[i] = 0xb2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Webp)))
- i += copy(dAtA[i:], m.Webp)
- }
- if len(m.FullScWeb) > 0 {
- dAtA[i] = 0xba
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FullScWeb)))
- i += copy(dAtA[i:], m.FullScWeb)
- }
- if len(m.FullScHorizontal) > 0 {
- dAtA[i] = 0xc2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FullScHorizontal)))
- i += copy(dAtA[i:], m.FullScHorizontal)
- }
- if len(m.FullScVertical) > 0 {
- dAtA[i] = 0xca
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FullScVertical)))
- i += copy(dAtA[i:], m.FullScVertical)
- }
- if len(m.FullScHorizontalSvga) > 0 {
- dAtA[i] = 0xd2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FullScHorizontalSvga)))
- i += copy(dAtA[i:], m.FullScHorizontalSvga)
- }
- if len(m.FullScVerticalSvga) > 0 {
- dAtA[i] = 0xda
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.FullScVerticalSvga)))
- i += copy(dAtA[i:], m.FullScVerticalSvga)
- }
- if len(m.BulletHead) > 0 {
- dAtA[i] = 0xe2
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.BulletHead)))
- i += copy(dAtA[i:], m.BulletHead)
- }
- if len(m.BulletTail) > 0 {
- dAtA[i] = 0xea
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.BulletTail)))
- i += copy(dAtA[i:], m.BulletTail)
- }
- if m.LimitInterval != 0 {
- dAtA[i] = 0xf0
- i++
- dAtA[i] = 0x1
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.LimitInterval))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *GiftConfigResp_CountMap) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *GiftConfigResp_CountMap) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Num != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Num))
- }
- if len(m.Text) > 0 {
- dAtA[i] = 0x12
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Text)))
- i += copy(dAtA[i:], m.Text)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *NeedTipRechargeReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *NeedTipRechargeReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.From != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.From))
- }
- if m.NeedGold != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.NeedGold))
- }
- if len(m.Platform) > 0 {
- dAtA[i] = 0x1a
- i++
- i = encodeVarintGift(dAtA, i, uint64(len(m.Platform)))
- i += copy(dAtA[i:], m.Platform)
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *NeedTipRechargeResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *NeedTipRechargeResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.Show != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Show))
- }
- if m.Bp != 0 {
- dAtA[i] = 0x15
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Bp))))
- i += 4
- }
- if m.BpCoupon != 0 {
- dAtA[i] = 0x1d
- i++
- encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BpCoupon))))
- i += 4
- }
- if m.RechargeGold != 0 {
- dAtA[i] = 0x20
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.RechargeGold))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *TipRechargeActionReq) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TipRechargeActionReq) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.From != 0 {
- dAtA[i] = 0x8
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.From))
- }
- if m.Action != 0 {
- dAtA[i] = 0x10
- i++
- i = encodeVarintGift(dAtA, i, uint64(m.Action))
- }
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func (m *TipRechargeActionResp) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalTo(dAtA)
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
- }
- func (m *TipRechargeActionResp) MarshalTo(dAtA []byte) (int, error) {
- var i int
- _ = i
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- i += copy(dAtA[i:], m.XXX_unrecognized)
- }
- return i, nil
- }
- func encodeVarintGift(dAtA []byte, offset int, v uint64) int {
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return offset + 1
- }
- func (m *DailyBagReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.BagStatus != 0 {
- n += 1 + sovGift(uint64(m.BagStatus))
- }
- if m.BagExpireStatus != 0 {
- n += 1 + sovGift(uint64(m.BagExpireStatus))
- }
- if m.BagToast != nil {
- l = m.BagToast.Size()
- n += 1 + l + sovGift(uint64(l))
- }
- if len(m.BagList) > 0 {
- for _, e := range m.BagList {
- l = e.Size()
- n += 1 + l + sovGift(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagToast) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.ToastStatus != 0 {
- n += 1 + sovGift(uint64(m.ToastStatus))
- }
- l = len(m.ToastMessage)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Type != 0 {
- n += 1 + sovGift(uint64(m.Type))
- }
- l = len(m.BagName)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.Source != nil {
- l = m.Source.Size()
- n += 1 + l + sovGift(uint64(l))
- }
- if len(m.GiftList) > 0 {
- for _, e := range m.GiftList {
- l = e.Size()
- n += 1 + l + sovGift(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList_Source) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.MedalId != 0 {
- n += 1 + sovGift(uint64(m.MedalId))
- }
- l = len(m.MedalName)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.Level != 0 {
- n += 1 + sovGift(uint64(m.Level))
- }
- if m.UserLevel != 0 {
- n += 1 + sovGift(uint64(m.UserLevel))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *DailyBagResp_BagList_GiftList) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.GiftId)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.GiftNum != 0 {
- n += 1 + sovGift(uint64(m.GiftNum))
- }
- if m.ExpireAt != 0 {
- n += 1 + sovGift(uint64(m.ExpireAt))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.Build != 0 {
- n += 1 + sovGift(uint64(m.Build))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.List) > 0 {
- for _, e := range m.List {
- l = e.Size()
- n += 1 + l + sovGift(uint64(l))
- }
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp_Config) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovGift(uint64(m.Id))
- }
- l = len(m.Name)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.Price != 0 {
- n += 1 + sovGift(uint64(m.Price))
- }
- if m.Type != 0 {
- n += 1 + sovGift(uint64(m.Type))
- }
- l = len(m.CoinType)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.BagGift != 0 {
- n += 1 + sovGift(uint64(m.BagGift))
- }
- if m.Effect != 0 {
- n += 1 + sovGift(uint64(m.Effect))
- }
- l = len(m.CornerMark)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.Broadcast != 0 {
- n += 1 + sovGift(uint64(m.Broadcast))
- }
- if m.Draw != 0 {
- n += 1 + sovGift(uint64(m.Draw))
- }
- if m.StayTime != 0 {
- n += 1 + sovGift(uint64(m.StayTime))
- }
- if m.AnimationFrameNum != 0 {
- n += 1 + sovGift(uint64(m.AnimationFrameNum))
- }
- l = len(m.Desc)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- l = len(m.Rule)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- l = len(m.Rights)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.PrivilegeRequired != 0 {
- n += 2 + sovGift(uint64(m.PrivilegeRequired))
- }
- if len(m.CountMap) > 0 {
- for _, e := range m.CountMap {
- l = e.Size()
- n += 2 + l + sovGift(uint64(l))
- }
- }
- l = len(m.ImgBasic)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.ImgDynamic)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FrameAnimation)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.Gif)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.Webp)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FullScWeb)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FullScHorizontal)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FullScVertical)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FullScHorizontalSvga)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.FullScVerticalSvga)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.BulletHead)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- l = len(m.BulletTail)
- if l > 0 {
- n += 2 + l + sovGift(uint64(l))
- }
- if m.LimitInterval != 0 {
- n += 2 + sovGift(uint64(m.LimitInterval))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *GiftConfigResp_CountMap) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Num != 0 {
- n += 1 + sovGift(uint64(m.Num))
- }
- l = len(m.Text)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *NeedTipRechargeReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.From != 0 {
- n += 1 + sovGift(uint64(m.From))
- }
- if m.NeedGold != 0 {
- n += 1 + sovGift(uint64(m.NeedGold))
- }
- l = len(m.Platform)
- if l > 0 {
- n += 1 + l + sovGift(uint64(l))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *NeedTipRechargeResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Show != 0 {
- n += 1 + sovGift(uint64(m.Show))
- }
- if m.Bp != 0 {
- n += 5
- }
- if m.BpCoupon != 0 {
- n += 5
- }
- if m.RechargeGold != 0 {
- n += 1 + sovGift(uint64(m.RechargeGold))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *TipRechargeActionReq) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.From != 0 {
- n += 1 + sovGift(uint64(m.From))
- }
- if m.Action != 0 {
- n += 1 + sovGift(uint64(m.Action))
- }
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func (m *TipRechargeActionResp) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.XXX_unrecognized != nil {
- n += len(m.XXX_unrecognized)
- }
- return n
- }
- func sovGift(x uint64) (n int) {
- for {
- n++
- x >>= 7
- if x == 0 {
- break
- }
- }
- return n
- }
- func sozGift(x uint64) (n int) {
- return sovGift(uint64((x << 1) ^ uint64((int64(x) >> 63))))
- }
- func (m *DailyBagReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DailyBagReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DailyBagReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: DailyBagResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: DailyBagResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagStatus", wireType)
- }
- m.BagStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagExpireStatus", wireType)
- }
- m.BagExpireStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagExpireStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagToast", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.BagToast == nil {
- m.BagToast = &DailyBagResp_BagToast{}
- }
- if err := m.BagToast.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BagList = append(m.BagList, &DailyBagResp_BagList{})
- if err := m.BagList[len(m.BagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagToast) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: BagToast: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: BagToast: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ToastStatus", wireType)
- }
- m.ToastStatus = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ToastStatus |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ToastMessage", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ToastMessage = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: BagList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: BagList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BagName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Source == nil {
- m.Source = &DailyBagResp_BagList_Source{}
- }
- if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftList", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftList = append(m.GiftList, &DailyBagResp_BagList_GiftList{})
- if err := m.GiftList[len(m.GiftList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList_Source) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Source: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Source: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field MedalId", wireType)
- }
- m.MedalId = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.MedalId |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MedalName = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
- }
- m.Level = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Level |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field UserLevel", wireType)
- }
- m.UserLevel = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.UserLevel |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *DailyBagResp_BagList_GiftList) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftList: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftList: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.GiftId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field GiftNum", wireType)
- }
- m.GiftNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.GiftNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpireAt", wireType)
- }
- m.ExpireAt = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExpireAt |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftConfigReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
- }
- m.Build = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Build |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: GiftConfigResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: GiftConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.List = append(m.List, &GiftConfigResp_Config{})
- if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp_Config) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: Config: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: Config: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
- }
- m.Id = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Id |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Name = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- m.Price = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Price |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
- }
- m.Type = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Type |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CoinType = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field BagGift", wireType)
- }
- m.BagGift = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.BagGift |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
- }
- m.Effect = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Effect |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CornerMark", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CornerMark = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Broadcast", wireType)
- }
- m.Broadcast = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Broadcast |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Draw", wireType)
- }
- m.Draw = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Draw |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field StayTime", wireType)
- }
- m.StayTime = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.StayTime |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 12:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field AnimationFrameNum", wireType)
- }
- m.AnimationFrameNum = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.AnimationFrameNum |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Desc = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rule = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 15:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Rights", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Rights = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 16:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PrivilegeRequired", wireType)
- }
- m.PrivilegeRequired = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PrivilegeRequired |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 17:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CountMap", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + msglen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.CountMap = append(m.CountMap, &GiftConfigResp_CountMap{})
- if err := m.CountMap[len(m.CountMap)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 18:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImgBasic", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ImgBasic = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 19:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ImgDynamic", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.ImgDynamic = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 20:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FrameAnimation", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FrameAnimation = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 21:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Gif", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Gif = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 22:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Webp", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Webp = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 23:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScWeb", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScWeb = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 24:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontal", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScHorizontal = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 25:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScVertical", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScVertical = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 26:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontalSvga", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScHorizontalSvga = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 27:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FullScVerticalSvga", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.FullScVerticalSvga = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 28:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BulletHead", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BulletHead = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 29:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BulletTail", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BulletTail = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 30:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field LimitInterval", wireType)
- }
- m.LimitInterval = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.LimitInterval |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *GiftConfigResp_CountMap) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: CountMap: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: CountMap: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
- }
- m.Num = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Num |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Text = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *NeedTipRechargeReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: NeedTipRechargeReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: NeedTipRechargeReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
- }
- m.From = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.From |= (From(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field NeedGold", wireType)
- }
- m.NeedGold = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.NeedGold |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthGift
- }
- postIndex := iNdEx + intStringLen
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Platform = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *NeedTipRechargeResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: NeedTipRechargeResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: NeedTipRechargeResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Show", wireType)
- }
- m.Show = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Show |= (int32(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field Bp", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.Bp = float32(math.Float32frombits(v))
- case 3:
- if wireType != 5 {
- return fmt.Errorf("proto: wrong wireType = %d for field BpCoupon", wireType)
- }
- var v uint32
- if (iNdEx + 4) > l {
- return io.ErrUnexpectedEOF
- }
- v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
- iNdEx += 4
- m.BpCoupon = float32(math.Float32frombits(v))
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field RechargeGold", wireType)
- }
- m.RechargeGold = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.RechargeGold |= (int64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TipRechargeActionReq) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TipRechargeActionReq: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TipRechargeActionReq: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
- }
- m.From = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.From |= (From(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 2:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
- }
- m.Action = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Action |= (UserAction(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func (m *TipRechargeActionResp) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGift
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TipRechargeActionResp: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TipRechargeActionResp: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipGift(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if skippy < 0 {
- return ErrInvalidLengthGift
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
- iNdEx += skippy
- }
- }
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
- }
- func skipGift(dAtA []byte) (n int, err error) {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGift
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- wireType := int(wire & 0x7)
- switch wireType {
- case 0:
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGift
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- iNdEx++
- if dAtA[iNdEx-1] < 0x80 {
- break
- }
- }
- return iNdEx, nil
- case 1:
- iNdEx += 8
- return iNdEx, nil
- case 2:
- var length int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGift
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- length |= (int(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- iNdEx += length
- if length < 0 {
- return 0, ErrInvalidLengthGift
- }
- return iNdEx, nil
- case 3:
- for {
- var innerWire uint64
- var start int = iNdEx
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return 0, ErrIntOverflowGift
- }
- if iNdEx >= l {
- return 0, io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- innerWire |= (uint64(b) & 0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- innerWireType := int(innerWire & 0x7)
- if innerWireType == 4 {
- break
- }
- next, err := skipGift(dAtA[start:])
- if err != nil {
- return 0, err
- }
- iNdEx = start + next
- }
- return iNdEx, nil
- case 4:
- return iNdEx, nil
- case 5:
- iNdEx += 4
- return iNdEx, nil
- default:
- return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
- }
- }
- panic("unreachable")
- }
- var (
- ErrInvalidLengthGift = fmt.Errorf("proto: negative length found during unmarshaling")
- ErrIntOverflowGift = fmt.Errorf("proto: integer overflow")
- )
- func init() { proto.RegisterFile("gift.proto", fileDescriptor_gift_0ba80813e5e87937) }
- var fileDescriptor_gift_0ba80813e5e87937 = []byte{
- // 1620 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6f, 0xdb, 0xc8,
- 0x15, 0x5f, 0xc9, 0x8a, 0x2c, 0x3d, 0xc9, 0xb2, 0x3c, 0xb1, 0x13, 0x46, 0xc9, 0x9a, 0x29, 0xb3,
- 0x9b, 0x35, 0xdc, 0xae, 0xb2, 0xeb, 0x2d, 0x0a, 0x74, 0x51, 0x14, 0x88, 0x92, 0x6d, 0x12, 0x20,
- 0x31, 0x16, 0x63, 0xa3, 0x05, 0x82, 0x02, 0xc4, 0x50, 0x1c, 0x51, 0x83, 0x25, 0x45, 0x86, 0x1f,
- 0xf2, 0xba, 0xf7, 0xfe, 0x35, 0xbd, 0x14, 0xbd, 0xf5, 0xda, 0xd3, 0x1e, 0x73, 0x6d, 0x0f, 0x44,
- 0xeb, 0x23, 0x8f, 0xfe, 0x0b, 0x8a, 0x79, 0xc3, 0x2f, 0x5b, 0x6a, 0x9c, 0x4b, 0x2f, 0xa3, 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