gift.pb.go 108 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: gift.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import encoding_binary "encoding/binary"
  9. import io "io"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  19. type From int32
  20. const (
  21. From_None From = 0
  22. From_Gold From = 1
  23. From_Silver From = 2
  24. )
  25. var From_name = map[int32]string{
  26. 0: "None",
  27. 1: "Gold",
  28. 2: "Silver",
  29. }
  30. var From_value = map[string]int32{
  31. "None": 0,
  32. "Gold": 1,
  33. "Silver": 2,
  34. }
  35. func (x From) String() string {
  36. return proto.EnumName(From_name, int32(x))
  37. }
  38. func (From) EnumDescriptor() ([]byte, []int) {
  39. return fileDescriptor_gift_0ba80813e5e87937, []int{0}
  40. }
  41. type UserAction int32
  42. const (
  43. UserAction_ActionNone UserAction = 0
  44. UserAction_StopPush UserAction = 1
  45. )
  46. var UserAction_name = map[int32]string{
  47. 0: "ActionNone",
  48. 1: "StopPush",
  49. }
  50. var UserAction_value = map[string]int32{
  51. "ActionNone": 0,
  52. "StopPush": 1,
  53. }
  54. func (x UserAction) String() string {
  55. return proto.EnumName(UserAction_name, int32(x))
  56. }
  57. func (UserAction) EnumDescriptor() ([]byte, []int) {
  58. return fileDescriptor_gift_0ba80813e5e87937, []int{1}
  59. }
  60. type DailyBagReq struct {
  61. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  62. XXX_unrecognized []byte `json:"-"`
  63. XXX_sizecache int32 `json:"-"`
  64. }
  65. func (m *DailyBagReq) Reset() { *m = DailyBagReq{} }
  66. func (m *DailyBagReq) String() string { return proto.CompactTextString(m) }
  67. func (*DailyBagReq) ProtoMessage() {}
  68. func (*DailyBagReq) Descriptor() ([]byte, []int) {
  69. return fileDescriptor_gift_0ba80813e5e87937, []int{0}
  70. }
  71. func (m *DailyBagReq) XXX_Unmarshal(b []byte) error {
  72. return m.Unmarshal(b)
  73. }
  74. func (m *DailyBagReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  75. if deterministic {
  76. return xxx_messageInfo_DailyBagReq.Marshal(b, m, deterministic)
  77. } else {
  78. b = b[:cap(b)]
  79. n, err := m.MarshalTo(b)
  80. if err != nil {
  81. return nil, err
  82. }
  83. return b[:n], nil
  84. }
  85. }
  86. func (dst *DailyBagReq) XXX_Merge(src proto.Message) {
  87. xxx_messageInfo_DailyBagReq.Merge(dst, src)
  88. }
  89. func (m *DailyBagReq) XXX_Size() int {
  90. return m.Size()
  91. }
  92. func (m *DailyBagReq) XXX_DiscardUnknown() {
  93. xxx_messageInfo_DailyBagReq.DiscardUnknown(m)
  94. }
  95. var xxx_messageInfo_DailyBagReq proto.InternalMessageInfo
  96. type DailyBagResp struct {
  97. BagStatus int64 `protobuf:"varint,1,opt,name=bag_status,json=bagStatus,proto3" json:"bag_status"`
  98. BagExpireStatus int64 `protobuf:"varint,2,opt,name=bag_expire_status,json=bagExpireStatus,proto3" json:"bag_expire_status"`
  99. BagToast *DailyBagResp_BagToast `protobuf:"bytes,3,opt,name=bag_toast,json=bagToast" json:"bag_toast"`
  100. BagList []*DailyBagResp_BagList `protobuf:"bytes,4,rep,name=bag_list,json=bagList" json:"bag_list"`
  101. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  102. XXX_unrecognized []byte `json:"-"`
  103. XXX_sizecache int32 `json:"-"`
  104. }
  105. func (m *DailyBagResp) Reset() { *m = DailyBagResp{} }
  106. func (m *DailyBagResp) String() string { return proto.CompactTextString(m) }
  107. func (*DailyBagResp) ProtoMessage() {}
  108. func (*DailyBagResp) Descriptor() ([]byte, []int) {
  109. return fileDescriptor_gift_0ba80813e5e87937, []int{1}
  110. }
  111. func (m *DailyBagResp) XXX_Unmarshal(b []byte) error {
  112. return m.Unmarshal(b)
  113. }
  114. func (m *DailyBagResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  115. if deterministic {
  116. return xxx_messageInfo_DailyBagResp.Marshal(b, m, deterministic)
  117. } else {
  118. b = b[:cap(b)]
  119. n, err := m.MarshalTo(b)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return b[:n], nil
  124. }
  125. }
  126. func (dst *DailyBagResp) XXX_Merge(src proto.Message) {
  127. xxx_messageInfo_DailyBagResp.Merge(dst, src)
  128. }
  129. func (m *DailyBagResp) XXX_Size() int {
  130. return m.Size()
  131. }
  132. func (m *DailyBagResp) XXX_DiscardUnknown() {
  133. xxx_messageInfo_DailyBagResp.DiscardUnknown(m)
  134. }
  135. var xxx_messageInfo_DailyBagResp proto.InternalMessageInfo
  136. type DailyBagResp_BagToast struct {
  137. ToastStatus int64 `protobuf:"varint,1,opt,name=toast_status,json=toastStatus,proto3" json:"toast_status"`
  138. ToastMessage string `protobuf:"bytes,2,opt,name=toast_message,json=toastMessage,proto3" json:"toast_message"`
  139. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  140. XXX_unrecognized []byte `json:"-"`
  141. XXX_sizecache int32 `json:"-"`
  142. }
  143. func (m *DailyBagResp_BagToast) Reset() { *m = DailyBagResp_BagToast{} }
  144. func (m *DailyBagResp_BagToast) String() string { return proto.CompactTextString(m) }
  145. func (*DailyBagResp_BagToast) ProtoMessage() {}
  146. func (*DailyBagResp_BagToast) Descriptor() ([]byte, []int) {
  147. return fileDescriptor_gift_0ba80813e5e87937, []int{1, 0}
  148. }
  149. func (m *DailyBagResp_BagToast) XXX_Unmarshal(b []byte) error {
  150. return m.Unmarshal(b)
  151. }
  152. func (m *DailyBagResp_BagToast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  153. if deterministic {
  154. return xxx_messageInfo_DailyBagResp_BagToast.Marshal(b, m, deterministic)
  155. } else {
  156. b = b[:cap(b)]
  157. n, err := m.MarshalTo(b)
  158. if err != nil {
  159. return nil, err
  160. }
  161. return b[:n], nil
  162. }
  163. }
  164. func (dst *DailyBagResp_BagToast) XXX_Merge(src proto.Message) {
  165. xxx_messageInfo_DailyBagResp_BagToast.Merge(dst, src)
  166. }
  167. func (m *DailyBagResp_BagToast) XXX_Size() int {
  168. return m.Size()
  169. }
  170. func (m *DailyBagResp_BagToast) XXX_DiscardUnknown() {
  171. xxx_messageInfo_DailyBagResp_BagToast.DiscardUnknown(m)
  172. }
  173. var xxx_messageInfo_DailyBagResp_BagToast proto.InternalMessageInfo
  174. type DailyBagResp_BagList struct {
  175. Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type"`
  176. BagName string `protobuf:"bytes,2,opt,name=bag_name,json=bagName,proto3" json:"bag_name"`
  177. Source *DailyBagResp_BagList_Source `protobuf:"bytes,3,opt,name=source" json:"source"`
  178. GiftList []*DailyBagResp_BagList_GiftList `protobuf:"bytes,4,rep,name=gift_list,json=giftList" json:"gift_list"`
  179. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  180. XXX_unrecognized []byte `json:"-"`
  181. XXX_sizecache int32 `json:"-"`
  182. }
  183. func (m *DailyBagResp_BagList) Reset() { *m = DailyBagResp_BagList{} }
  184. func (m *DailyBagResp_BagList) String() string { return proto.CompactTextString(m) }
  185. func (*DailyBagResp_BagList) ProtoMessage() {}
  186. func (*DailyBagResp_BagList) Descriptor() ([]byte, []int) {
  187. return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1}
  188. }
  189. func (m *DailyBagResp_BagList) XXX_Unmarshal(b []byte) error {
  190. return m.Unmarshal(b)
  191. }
  192. func (m *DailyBagResp_BagList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  193. if deterministic {
  194. return xxx_messageInfo_DailyBagResp_BagList.Marshal(b, m, deterministic)
  195. } else {
  196. b = b[:cap(b)]
  197. n, err := m.MarshalTo(b)
  198. if err != nil {
  199. return nil, err
  200. }
  201. return b[:n], nil
  202. }
  203. }
  204. func (dst *DailyBagResp_BagList) XXX_Merge(src proto.Message) {
  205. xxx_messageInfo_DailyBagResp_BagList.Merge(dst, src)
  206. }
  207. func (m *DailyBagResp_BagList) XXX_Size() int {
  208. return m.Size()
  209. }
  210. func (m *DailyBagResp_BagList) XXX_DiscardUnknown() {
  211. xxx_messageInfo_DailyBagResp_BagList.DiscardUnknown(m)
  212. }
  213. var xxx_messageInfo_DailyBagResp_BagList proto.InternalMessageInfo
  214. type DailyBagResp_BagList_Source struct {
  215. MedalId int64 `protobuf:"varint,1,opt,name=medal_id,json=medalId,proto3" json:"medal_id"`
  216. MedalName string `protobuf:"bytes,2,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  217. Level int64 `protobuf:"varint,3,opt,name=level,proto3" json:"level"`
  218. UserLevel int64 `protobuf:"varint,4,opt,name=user_level,json=userLevel,proto3" json:"user_level"`
  219. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  220. XXX_unrecognized []byte `json:"-"`
  221. XXX_sizecache int32 `json:"-"`
  222. }
  223. func (m *DailyBagResp_BagList_Source) Reset() { *m = DailyBagResp_BagList_Source{} }
  224. func (m *DailyBagResp_BagList_Source) String() string { return proto.CompactTextString(m) }
  225. func (*DailyBagResp_BagList_Source) ProtoMessage() {}
  226. func (*DailyBagResp_BagList_Source) Descriptor() ([]byte, []int) {
  227. return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1, 0}
  228. }
  229. func (m *DailyBagResp_BagList_Source) XXX_Unmarshal(b []byte) error {
  230. return m.Unmarshal(b)
  231. }
  232. func (m *DailyBagResp_BagList_Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  233. if deterministic {
  234. return xxx_messageInfo_DailyBagResp_BagList_Source.Marshal(b, m, deterministic)
  235. } else {
  236. b = b[:cap(b)]
  237. n, err := m.MarshalTo(b)
  238. if err != nil {
  239. return nil, err
  240. }
  241. return b[:n], nil
  242. }
  243. }
  244. func (dst *DailyBagResp_BagList_Source) XXX_Merge(src proto.Message) {
  245. xxx_messageInfo_DailyBagResp_BagList_Source.Merge(dst, src)
  246. }
  247. func (m *DailyBagResp_BagList_Source) XXX_Size() int {
  248. return m.Size()
  249. }
  250. func (m *DailyBagResp_BagList_Source) XXX_DiscardUnknown() {
  251. xxx_messageInfo_DailyBagResp_BagList_Source.DiscardUnknown(m)
  252. }
  253. var xxx_messageInfo_DailyBagResp_BagList_Source proto.InternalMessageInfo
  254. type DailyBagResp_BagList_GiftList struct {
  255. GiftId string `protobuf:"bytes,1,opt,name=gift_id,json=giftId,proto3" json:"gift_id"`
  256. GiftNum int64 `protobuf:"varint,2,opt,name=gift_num,json=giftNum,proto3" json:"gift_num"`
  257. ExpireAt int64 `protobuf:"varint,3,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"`
  258. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  259. XXX_unrecognized []byte `json:"-"`
  260. XXX_sizecache int32 `json:"-"`
  261. }
  262. func (m *DailyBagResp_BagList_GiftList) Reset() { *m = DailyBagResp_BagList_GiftList{} }
  263. func (m *DailyBagResp_BagList_GiftList) String() string { return proto.CompactTextString(m) }
  264. func (*DailyBagResp_BagList_GiftList) ProtoMessage() {}
  265. func (*DailyBagResp_BagList_GiftList) Descriptor() ([]byte, []int) {
  266. return fileDescriptor_gift_0ba80813e5e87937, []int{1, 1, 1}
  267. }
  268. func (m *DailyBagResp_BagList_GiftList) XXX_Unmarshal(b []byte) error {
  269. return m.Unmarshal(b)
  270. }
  271. func (m *DailyBagResp_BagList_GiftList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  272. if deterministic {
  273. return xxx_messageInfo_DailyBagResp_BagList_GiftList.Marshal(b, m, deterministic)
  274. } else {
  275. b = b[:cap(b)]
  276. n, err := m.MarshalTo(b)
  277. if err != nil {
  278. return nil, err
  279. }
  280. return b[:n], nil
  281. }
  282. }
  283. func (dst *DailyBagResp_BagList_GiftList) XXX_Merge(src proto.Message) {
  284. xxx_messageInfo_DailyBagResp_BagList_GiftList.Merge(dst, src)
  285. }
  286. func (m *DailyBagResp_BagList_GiftList) XXX_Size() int {
  287. return m.Size()
  288. }
  289. func (m *DailyBagResp_BagList_GiftList) XXX_DiscardUnknown() {
  290. xxx_messageInfo_DailyBagResp_BagList_GiftList.DiscardUnknown(m)
  291. }
  292. var xxx_messageInfo_DailyBagResp_BagList_GiftList proto.InternalMessageInfo
  293. type GiftConfigReq struct {
  294. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform"`
  295. Build int64 `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty" form:"build"`
  296. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  297. XXX_unrecognized []byte `json:"-"`
  298. XXX_sizecache int32 `json:"-"`
  299. }
  300. func (m *GiftConfigReq) Reset() { *m = GiftConfigReq{} }
  301. func (m *GiftConfigReq) String() string { return proto.CompactTextString(m) }
  302. func (*GiftConfigReq) ProtoMessage() {}
  303. func (*GiftConfigReq) Descriptor() ([]byte, []int) {
  304. return fileDescriptor_gift_0ba80813e5e87937, []int{2}
  305. }
  306. func (m *GiftConfigReq) XXX_Unmarshal(b []byte) error {
  307. return m.Unmarshal(b)
  308. }
  309. func (m *GiftConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  310. if deterministic {
  311. return xxx_messageInfo_GiftConfigReq.Marshal(b, m, deterministic)
  312. } else {
  313. b = b[:cap(b)]
  314. n, err := m.MarshalTo(b)
  315. if err != nil {
  316. return nil, err
  317. }
  318. return b[:n], nil
  319. }
  320. }
  321. func (dst *GiftConfigReq) XXX_Merge(src proto.Message) {
  322. xxx_messageInfo_GiftConfigReq.Merge(dst, src)
  323. }
  324. func (m *GiftConfigReq) XXX_Size() int {
  325. return m.Size()
  326. }
  327. func (m *GiftConfigReq) XXX_DiscardUnknown() {
  328. xxx_messageInfo_GiftConfigReq.DiscardUnknown(m)
  329. }
  330. var xxx_messageInfo_GiftConfigReq proto.InternalMessageInfo
  331. type GiftConfigResp struct {
  332. List []*GiftConfigResp_Config `protobuf:"bytes,1,rep,name=list" json:"list"`
  333. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  334. XXX_unrecognized []byte `json:"-"`
  335. XXX_sizecache int32 `json:"-"`
  336. }
  337. func (m *GiftConfigResp) Reset() { *m = GiftConfigResp{} }
  338. func (m *GiftConfigResp) String() string { return proto.CompactTextString(m) }
  339. func (*GiftConfigResp) ProtoMessage() {}
  340. func (*GiftConfigResp) Descriptor() ([]byte, []int) {
  341. return fileDescriptor_gift_0ba80813e5e87937, []int{3}
  342. }
  343. func (m *GiftConfigResp) XXX_Unmarshal(b []byte) error {
  344. return m.Unmarshal(b)
  345. }
  346. func (m *GiftConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  347. if deterministic {
  348. return xxx_messageInfo_GiftConfigResp.Marshal(b, m, deterministic)
  349. } else {
  350. b = b[:cap(b)]
  351. n, err := m.MarshalTo(b)
  352. if err != nil {
  353. return nil, err
  354. }
  355. return b[:n], nil
  356. }
  357. }
  358. func (dst *GiftConfigResp) XXX_Merge(src proto.Message) {
  359. xxx_messageInfo_GiftConfigResp.Merge(dst, src)
  360. }
  361. func (m *GiftConfigResp) XXX_Size() int {
  362. return m.Size()
  363. }
  364. func (m *GiftConfigResp) XXX_DiscardUnknown() {
  365. xxx_messageInfo_GiftConfigResp.DiscardUnknown(m)
  366. }
  367. var xxx_messageInfo_GiftConfigResp proto.InternalMessageInfo
  368. type GiftConfigResp_Config struct {
  369. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  370. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
  371. Price int64 `protobuf:"varint,3,opt,name=price,proto3" json:"price"`
  372. Type int64 `protobuf:"varint,4,opt,name=type,proto3" json:"type"`
  373. CoinType string `protobuf:"bytes,5,opt,name=coin_type,json=coinType,proto3" json:"coin_type"`
  374. BagGift int64 `protobuf:"varint,6,opt,name=bag_gift,json=bagGift,proto3" json:"bag_gift"`
  375. Effect int64 `protobuf:"varint,7,opt,name=effect,proto3" json:"effect"`
  376. CornerMark string `protobuf:"bytes,8,opt,name=corner_mark,json=cornerMark,proto3" json:"corner_mark"`
  377. Broadcast int64 `protobuf:"varint,9,opt,name=broadcast,proto3" json:"broadcast"`
  378. Draw int64 `protobuf:"varint,10,opt,name=draw,proto3" json:"draw"`
  379. StayTime int64 `protobuf:"varint,11,opt,name=stay_time,json=stayTime,proto3" json:"stay_time"`
  380. AnimationFrameNum int64 `protobuf:"varint,12,opt,name=animation_frame_num,json=animationFrameNum,proto3" json:"animation_frame_num"`
  381. Desc string `protobuf:"bytes,13,opt,name=desc,proto3" json:"desc"`
  382. Rule string `protobuf:"bytes,14,opt,name=rule,proto3" json:"rule"`
  383. Rights string `protobuf:"bytes,15,opt,name=rights,proto3" json:"rights"`
  384. PrivilegeRequired int64 `protobuf:"varint,16,opt,name=privilege_required,json=privilegeRequired,proto3" json:"privilege_required"`
  385. CountMap []*GiftConfigResp_CountMap `protobuf:"bytes,17,rep,name=count_map,json=countMap" json:"count_map"`
  386. ImgBasic string `protobuf:"bytes,18,opt,name=img_basic,json=imgBasic,proto3" json:"img_basic"`
  387. ImgDynamic string `protobuf:"bytes,19,opt,name=img_dynamic,json=imgDynamic,proto3" json:"img_dynamic"`
  388. FrameAnimation string `protobuf:"bytes,20,opt,name=frame_animation,json=frameAnimation,proto3" json:"frame_animation"`
  389. Gif string `protobuf:"bytes,21,opt,name=gif,proto3" json:"gif"`
  390. Webp string `protobuf:"bytes,22,opt,name=webp,proto3" json:"webp"`
  391. FullScWeb string `protobuf:"bytes,23,opt,name=full_sc_web,json=fullScWeb,proto3" json:"full_sc_web"`
  392. FullScHorizontal string `protobuf:"bytes,24,opt,name=full_sc_horizontal,json=fullScHorizontal,proto3" json:"full_sc_horizontal"`
  393. FullScVertical string `protobuf:"bytes,25,opt,name=full_sc_vertical,json=fullScVertical,proto3" json:"full_sc_vertical"`
  394. FullScHorizontalSvga string `protobuf:"bytes,26,opt,name=full_sc_horizontal_svga,json=fullScHorizontalSvga,proto3" json:"full_sc_horizontal_svga"`
  395. FullScVerticalSvga string `protobuf:"bytes,27,opt,name=full_sc_vertical_svga,json=fullScVerticalSvga,proto3" json:"full_sc_vertical_svga"`
  396. BulletHead string `protobuf:"bytes,28,opt,name=bullet_head,json=bulletHead,proto3" json:"bullet_head"`
  397. BulletTail string `protobuf:"bytes,29,opt,name=bullet_tail,json=bulletTail,proto3" json:"bullet_tail"`
  398. LimitInterval int64 `protobuf:"varint,30,opt,name=limit_interval,json=limitInterval,proto3" json:"limit_interval"`
  399. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  400. XXX_unrecognized []byte `json:"-"`
  401. XXX_sizecache int32 `json:"-"`
  402. }
  403. func (m *GiftConfigResp_Config) Reset() { *m = GiftConfigResp_Config{} }
  404. func (m *GiftConfigResp_Config) String() string { return proto.CompactTextString(m) }
  405. func (*GiftConfigResp_Config) ProtoMessage() {}
  406. func (*GiftConfigResp_Config) Descriptor() ([]byte, []int) {
  407. return fileDescriptor_gift_0ba80813e5e87937, []int{3, 0}
  408. }
  409. func (m *GiftConfigResp_Config) XXX_Unmarshal(b []byte) error {
  410. return m.Unmarshal(b)
  411. }
  412. func (m *GiftConfigResp_Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  413. if deterministic {
  414. return xxx_messageInfo_GiftConfigResp_Config.Marshal(b, m, deterministic)
  415. } else {
  416. b = b[:cap(b)]
  417. n, err := m.MarshalTo(b)
  418. if err != nil {
  419. return nil, err
  420. }
  421. return b[:n], nil
  422. }
  423. }
  424. func (dst *GiftConfigResp_Config) XXX_Merge(src proto.Message) {
  425. xxx_messageInfo_GiftConfigResp_Config.Merge(dst, src)
  426. }
  427. func (m *GiftConfigResp_Config) XXX_Size() int {
  428. return m.Size()
  429. }
  430. func (m *GiftConfigResp_Config) XXX_DiscardUnknown() {
  431. xxx_messageInfo_GiftConfigResp_Config.DiscardUnknown(m)
  432. }
  433. var xxx_messageInfo_GiftConfigResp_Config proto.InternalMessageInfo
  434. type GiftConfigResp_CountMap struct {
  435. Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num"`
  436. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
  437. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  438. XXX_unrecognized []byte `json:"-"`
  439. XXX_sizecache int32 `json:"-"`
  440. }
  441. func (m *GiftConfigResp_CountMap) Reset() { *m = GiftConfigResp_CountMap{} }
  442. func (m *GiftConfigResp_CountMap) String() string { return proto.CompactTextString(m) }
  443. func (*GiftConfigResp_CountMap) ProtoMessage() {}
  444. func (*GiftConfigResp_CountMap) Descriptor() ([]byte, []int) {
  445. return fileDescriptor_gift_0ba80813e5e87937, []int{3, 1}
  446. }
  447. func (m *GiftConfigResp_CountMap) XXX_Unmarshal(b []byte) error {
  448. return m.Unmarshal(b)
  449. }
  450. func (m *GiftConfigResp_CountMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  451. if deterministic {
  452. return xxx_messageInfo_GiftConfigResp_CountMap.Marshal(b, m, deterministic)
  453. } else {
  454. b = b[:cap(b)]
  455. n, err := m.MarshalTo(b)
  456. if err != nil {
  457. return nil, err
  458. }
  459. return b[:n], nil
  460. }
  461. }
  462. func (dst *GiftConfigResp_CountMap) XXX_Merge(src proto.Message) {
  463. xxx_messageInfo_GiftConfigResp_CountMap.Merge(dst, src)
  464. }
  465. func (m *GiftConfigResp_CountMap) XXX_Size() int {
  466. return m.Size()
  467. }
  468. func (m *GiftConfigResp_CountMap) XXX_DiscardUnknown() {
  469. xxx_messageInfo_GiftConfigResp_CountMap.DiscardUnknown(m)
  470. }
  471. var xxx_messageInfo_GiftConfigResp_CountMap proto.InternalMessageInfo
  472. type NeedTipRechargeReq struct {
  473. // 来源 1金瓜子 2 银瓜子
  474. From From `protobuf:"varint,1,opt,name=from,proto3,enum=live.approom.v1.From" json:"from,omitempty" form:"from" validate:"required"`
  475. // 需要的金瓜子 如果From=2 那么直接传0
  476. NeedGold int64 `protobuf:"varint,2,opt,name=needGold,proto3" json:"needGold,omitempty" form:"needGold"`
  477. // 平台 android ios
  478. Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  479. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  480. XXX_unrecognized []byte `json:"-"`
  481. XXX_sizecache int32 `json:"-"`
  482. }
  483. func (m *NeedTipRechargeReq) Reset() { *m = NeedTipRechargeReq{} }
  484. func (m *NeedTipRechargeReq) String() string { return proto.CompactTextString(m) }
  485. func (*NeedTipRechargeReq) ProtoMessage() {}
  486. func (*NeedTipRechargeReq) Descriptor() ([]byte, []int) {
  487. return fileDescriptor_gift_0ba80813e5e87937, []int{4}
  488. }
  489. func (m *NeedTipRechargeReq) XXX_Unmarshal(b []byte) error {
  490. return m.Unmarshal(b)
  491. }
  492. func (m *NeedTipRechargeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  493. if deterministic {
  494. return xxx_messageInfo_NeedTipRechargeReq.Marshal(b, m, deterministic)
  495. } else {
  496. b = b[:cap(b)]
  497. n, err := m.MarshalTo(b)
  498. if err != nil {
  499. return nil, err
  500. }
  501. return b[:n], nil
  502. }
  503. }
  504. func (dst *NeedTipRechargeReq) XXX_Merge(src proto.Message) {
  505. xxx_messageInfo_NeedTipRechargeReq.Merge(dst, src)
  506. }
  507. func (m *NeedTipRechargeReq) XXX_Size() int {
  508. return m.Size()
  509. }
  510. func (m *NeedTipRechargeReq) XXX_DiscardUnknown() {
  511. xxx_messageInfo_NeedTipRechargeReq.DiscardUnknown(m)
  512. }
  513. var xxx_messageInfo_NeedTipRechargeReq proto.InternalMessageInfo
  514. type NeedTipRechargeResp struct {
  515. // 是否展示
  516. Show int32 `protobuf:"varint,1,opt,name=show,proto3" json:"show"`
  517. // bp
  518. Bp float32 `protobuf:"fixed32,2,opt,name=bp,proto3" json:"bp"`
  519. // bp券
  520. BpCoupon float32 `protobuf:"fixed32,3,opt,name=bpCoupon,proto3" json:"bpCoupon"`
  521. // 需要充值的金瓜子
  522. RechargeGold int64 `protobuf:"varint,4,opt,name=rechargeGold,proto3" json:"rechargeGold"`
  523. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  524. XXX_unrecognized []byte `json:"-"`
  525. XXX_sizecache int32 `json:"-"`
  526. }
  527. func (m *NeedTipRechargeResp) Reset() { *m = NeedTipRechargeResp{} }
  528. func (m *NeedTipRechargeResp) String() string { return proto.CompactTextString(m) }
  529. func (*NeedTipRechargeResp) ProtoMessage() {}
  530. func (*NeedTipRechargeResp) Descriptor() ([]byte, []int) {
  531. return fileDescriptor_gift_0ba80813e5e87937, []int{5}
  532. }
  533. func (m *NeedTipRechargeResp) XXX_Unmarshal(b []byte) error {
  534. return m.Unmarshal(b)
  535. }
  536. func (m *NeedTipRechargeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  537. if deterministic {
  538. return xxx_messageInfo_NeedTipRechargeResp.Marshal(b, m, deterministic)
  539. } else {
  540. b = b[:cap(b)]
  541. n, err := m.MarshalTo(b)
  542. if err != nil {
  543. return nil, err
  544. }
  545. return b[:n], nil
  546. }
  547. }
  548. func (dst *NeedTipRechargeResp) XXX_Merge(src proto.Message) {
  549. xxx_messageInfo_NeedTipRechargeResp.Merge(dst, src)
  550. }
  551. func (m *NeedTipRechargeResp) XXX_Size() int {
  552. return m.Size()
  553. }
  554. func (m *NeedTipRechargeResp) XXX_DiscardUnknown() {
  555. xxx_messageInfo_NeedTipRechargeResp.DiscardUnknown(m)
  556. }
  557. var xxx_messageInfo_NeedTipRechargeResp proto.InternalMessageInfo
  558. type TipRechargeActionReq struct {
  559. // 来源 1金瓜子 2 银瓜子
  560. From From `protobuf:"varint,1,opt,name=from,proto3,enum=live.approom.v1.From" json:"from,omitempty" form:"from" validate:"required"`
  561. // 行为 1 停止推送
  562. Action UserAction `protobuf:"varint,2,opt,name=action,proto3,enum=live.approom.v1.UserAction" json:"action,omitempty" form:"action" validate:"required"`
  563. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  564. XXX_unrecognized []byte `json:"-"`
  565. XXX_sizecache int32 `json:"-"`
  566. }
  567. func (m *TipRechargeActionReq) Reset() { *m = TipRechargeActionReq{} }
  568. func (m *TipRechargeActionReq) String() string { return proto.CompactTextString(m) }
  569. func (*TipRechargeActionReq) ProtoMessage() {}
  570. func (*TipRechargeActionReq) Descriptor() ([]byte, []int) {
  571. return fileDescriptor_gift_0ba80813e5e87937, []int{6}
  572. }
  573. func (m *TipRechargeActionReq) XXX_Unmarshal(b []byte) error {
  574. return m.Unmarshal(b)
  575. }
  576. func (m *TipRechargeActionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  577. if deterministic {
  578. return xxx_messageInfo_TipRechargeActionReq.Marshal(b, m, deterministic)
  579. } else {
  580. b = b[:cap(b)]
  581. n, err := m.MarshalTo(b)
  582. if err != nil {
  583. return nil, err
  584. }
  585. return b[:n], nil
  586. }
  587. }
  588. func (dst *TipRechargeActionReq) XXX_Merge(src proto.Message) {
  589. xxx_messageInfo_TipRechargeActionReq.Merge(dst, src)
  590. }
  591. func (m *TipRechargeActionReq) XXX_Size() int {
  592. return m.Size()
  593. }
  594. func (m *TipRechargeActionReq) XXX_DiscardUnknown() {
  595. xxx_messageInfo_TipRechargeActionReq.DiscardUnknown(m)
  596. }
  597. var xxx_messageInfo_TipRechargeActionReq proto.InternalMessageInfo
  598. type TipRechargeActionResp struct {
  599. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  600. XXX_unrecognized []byte `json:"-"`
  601. XXX_sizecache int32 `json:"-"`
  602. }
  603. func (m *TipRechargeActionResp) Reset() { *m = TipRechargeActionResp{} }
  604. func (m *TipRechargeActionResp) String() string { return proto.CompactTextString(m) }
  605. func (*TipRechargeActionResp) ProtoMessage() {}
  606. func (*TipRechargeActionResp) Descriptor() ([]byte, []int) {
  607. return fileDescriptor_gift_0ba80813e5e87937, []int{7}
  608. }
  609. func (m *TipRechargeActionResp) XXX_Unmarshal(b []byte) error {
  610. return m.Unmarshal(b)
  611. }
  612. func (m *TipRechargeActionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  613. if deterministic {
  614. return xxx_messageInfo_TipRechargeActionResp.Marshal(b, m, deterministic)
  615. } else {
  616. b = b[:cap(b)]
  617. n, err := m.MarshalTo(b)
  618. if err != nil {
  619. return nil, err
  620. }
  621. return b[:n], nil
  622. }
  623. }
  624. func (dst *TipRechargeActionResp) XXX_Merge(src proto.Message) {
  625. xxx_messageInfo_TipRechargeActionResp.Merge(dst, src)
  626. }
  627. func (m *TipRechargeActionResp) XXX_Size() int {
  628. return m.Size()
  629. }
  630. func (m *TipRechargeActionResp) XXX_DiscardUnknown() {
  631. xxx_messageInfo_TipRechargeActionResp.DiscardUnknown(m)
  632. }
  633. var xxx_messageInfo_TipRechargeActionResp proto.InternalMessageInfo
  634. func init() {
  635. proto.RegisterType((*DailyBagReq)(nil), "live.approom.v1.DailyBagReq")
  636. proto.RegisterType((*DailyBagResp)(nil), "live.approom.v1.DailyBagResp")
  637. proto.RegisterType((*DailyBagResp_BagToast)(nil), "live.approom.v1.DailyBagResp.BagToast")
  638. proto.RegisterType((*DailyBagResp_BagList)(nil), "live.approom.v1.DailyBagResp.BagList")
  639. proto.RegisterType((*DailyBagResp_BagList_Source)(nil), "live.approom.v1.DailyBagResp.BagList.Source")
  640. proto.RegisterType((*DailyBagResp_BagList_GiftList)(nil), "live.approom.v1.DailyBagResp.BagList.GiftList")
  641. proto.RegisterType((*GiftConfigReq)(nil), "live.approom.v1.GiftConfigReq")
  642. proto.RegisterType((*GiftConfigResp)(nil), "live.approom.v1.GiftConfigResp")
  643. proto.RegisterType((*GiftConfigResp_Config)(nil), "live.approom.v1.GiftConfigResp.Config")
  644. proto.RegisterType((*GiftConfigResp_CountMap)(nil), "live.approom.v1.GiftConfigResp.CountMap")
  645. proto.RegisterType((*NeedTipRechargeReq)(nil), "live.approom.v1.NeedTipRechargeReq")
  646. proto.RegisterType((*NeedTipRechargeResp)(nil), "live.approom.v1.NeedTipRechargeResp")
  647. proto.RegisterType((*TipRechargeActionReq)(nil), "live.approom.v1.TipRechargeActionReq")
  648. proto.RegisterType((*TipRechargeActionResp)(nil), "live.approom.v1.TipRechargeActionResp")
  649. proto.RegisterEnum("live.approom.v1.From", From_name, From_value)
  650. proto.RegisterEnum("live.approom.v1.UserAction", UserAction_name, UserAction_value)
  651. }
  652. func (m *DailyBagReq) Marshal() (dAtA []byte, err error) {
  653. size := m.Size()
  654. dAtA = make([]byte, size)
  655. n, err := m.MarshalTo(dAtA)
  656. if err != nil {
  657. return nil, err
  658. }
  659. return dAtA[:n], nil
  660. }
  661. func (m *DailyBagReq) MarshalTo(dAtA []byte) (int, error) {
  662. var i int
  663. _ = i
  664. var l int
  665. _ = l
  666. if m.XXX_unrecognized != nil {
  667. i += copy(dAtA[i:], m.XXX_unrecognized)
  668. }
  669. return i, nil
  670. }
  671. func (m *DailyBagResp) Marshal() (dAtA []byte, err error) {
  672. size := m.Size()
  673. dAtA = make([]byte, size)
  674. n, err := m.MarshalTo(dAtA)
  675. if err != nil {
  676. return nil, err
  677. }
  678. return dAtA[:n], nil
  679. }
  680. func (m *DailyBagResp) MarshalTo(dAtA []byte) (int, error) {
  681. var i int
  682. _ = i
  683. var l int
  684. _ = l
  685. if m.BagStatus != 0 {
  686. dAtA[i] = 0x8
  687. i++
  688. i = encodeVarintGift(dAtA, i, uint64(m.BagStatus))
  689. }
  690. if m.BagExpireStatus != 0 {
  691. dAtA[i] = 0x10
  692. i++
  693. i = encodeVarintGift(dAtA, i, uint64(m.BagExpireStatus))
  694. }
  695. if m.BagToast != nil {
  696. dAtA[i] = 0x1a
  697. i++
  698. i = encodeVarintGift(dAtA, i, uint64(m.BagToast.Size()))
  699. n1, err := m.BagToast.MarshalTo(dAtA[i:])
  700. if err != nil {
  701. return 0, err
  702. }
  703. i += n1
  704. }
  705. if len(m.BagList) > 0 {
  706. for _, msg := range m.BagList {
  707. dAtA[i] = 0x22
  708. i++
  709. i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
  710. n, err := msg.MarshalTo(dAtA[i:])
  711. if err != nil {
  712. return 0, err
  713. }
  714. i += n
  715. }
  716. }
  717. if m.XXX_unrecognized != nil {
  718. i += copy(dAtA[i:], m.XXX_unrecognized)
  719. }
  720. return i, nil
  721. }
  722. func (m *DailyBagResp_BagToast) Marshal() (dAtA []byte, err error) {
  723. size := m.Size()
  724. dAtA = make([]byte, size)
  725. n, err := m.MarshalTo(dAtA)
  726. if err != nil {
  727. return nil, err
  728. }
  729. return dAtA[:n], nil
  730. }
  731. func (m *DailyBagResp_BagToast) MarshalTo(dAtA []byte) (int, error) {
  732. var i int
  733. _ = i
  734. var l int
  735. _ = l
  736. if m.ToastStatus != 0 {
  737. dAtA[i] = 0x8
  738. i++
  739. i = encodeVarintGift(dAtA, i, uint64(m.ToastStatus))
  740. }
  741. if len(m.ToastMessage) > 0 {
  742. dAtA[i] = 0x12
  743. i++
  744. i = encodeVarintGift(dAtA, i, uint64(len(m.ToastMessage)))
  745. i += copy(dAtA[i:], m.ToastMessage)
  746. }
  747. if m.XXX_unrecognized != nil {
  748. i += copy(dAtA[i:], m.XXX_unrecognized)
  749. }
  750. return i, nil
  751. }
  752. func (m *DailyBagResp_BagList) Marshal() (dAtA []byte, err error) {
  753. size := m.Size()
  754. dAtA = make([]byte, size)
  755. n, err := m.MarshalTo(dAtA)
  756. if err != nil {
  757. return nil, err
  758. }
  759. return dAtA[:n], nil
  760. }
  761. func (m *DailyBagResp_BagList) MarshalTo(dAtA []byte) (int, error) {
  762. var i int
  763. _ = i
  764. var l int
  765. _ = l
  766. if m.Type != 0 {
  767. dAtA[i] = 0x8
  768. i++
  769. i = encodeVarintGift(dAtA, i, uint64(m.Type))
  770. }
  771. if len(m.BagName) > 0 {
  772. dAtA[i] = 0x12
  773. i++
  774. i = encodeVarintGift(dAtA, i, uint64(len(m.BagName)))
  775. i += copy(dAtA[i:], m.BagName)
  776. }
  777. if m.Source != nil {
  778. dAtA[i] = 0x1a
  779. i++
  780. i = encodeVarintGift(dAtA, i, uint64(m.Source.Size()))
  781. n2, err := m.Source.MarshalTo(dAtA[i:])
  782. if err != nil {
  783. return 0, err
  784. }
  785. i += n2
  786. }
  787. if len(m.GiftList) > 0 {
  788. for _, msg := range m.GiftList {
  789. dAtA[i] = 0x22
  790. i++
  791. i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
  792. n, err := msg.MarshalTo(dAtA[i:])
  793. if err != nil {
  794. return 0, err
  795. }
  796. i += n
  797. }
  798. }
  799. if m.XXX_unrecognized != nil {
  800. i += copy(dAtA[i:], m.XXX_unrecognized)
  801. }
  802. return i, nil
  803. }
  804. func (m *DailyBagResp_BagList_Source) Marshal() (dAtA []byte, err error) {
  805. size := m.Size()
  806. dAtA = make([]byte, size)
  807. n, err := m.MarshalTo(dAtA)
  808. if err != nil {
  809. return nil, err
  810. }
  811. return dAtA[:n], nil
  812. }
  813. func (m *DailyBagResp_BagList_Source) MarshalTo(dAtA []byte) (int, error) {
  814. var i int
  815. _ = i
  816. var l int
  817. _ = l
  818. if m.MedalId != 0 {
  819. dAtA[i] = 0x8
  820. i++
  821. i = encodeVarintGift(dAtA, i, uint64(m.MedalId))
  822. }
  823. if len(m.MedalName) > 0 {
  824. dAtA[i] = 0x12
  825. i++
  826. i = encodeVarintGift(dAtA, i, uint64(len(m.MedalName)))
  827. i += copy(dAtA[i:], m.MedalName)
  828. }
  829. if m.Level != 0 {
  830. dAtA[i] = 0x18
  831. i++
  832. i = encodeVarintGift(dAtA, i, uint64(m.Level))
  833. }
  834. if m.UserLevel != 0 {
  835. dAtA[i] = 0x20
  836. i++
  837. i = encodeVarintGift(dAtA, i, uint64(m.UserLevel))
  838. }
  839. if m.XXX_unrecognized != nil {
  840. i += copy(dAtA[i:], m.XXX_unrecognized)
  841. }
  842. return i, nil
  843. }
  844. func (m *DailyBagResp_BagList_GiftList) Marshal() (dAtA []byte, err error) {
  845. size := m.Size()
  846. dAtA = make([]byte, size)
  847. n, err := m.MarshalTo(dAtA)
  848. if err != nil {
  849. return nil, err
  850. }
  851. return dAtA[:n], nil
  852. }
  853. func (m *DailyBagResp_BagList_GiftList) MarshalTo(dAtA []byte) (int, error) {
  854. var i int
  855. _ = i
  856. var l int
  857. _ = l
  858. if len(m.GiftId) > 0 {
  859. dAtA[i] = 0xa
  860. i++
  861. i = encodeVarintGift(dAtA, i, uint64(len(m.GiftId)))
  862. i += copy(dAtA[i:], m.GiftId)
  863. }
  864. if m.GiftNum != 0 {
  865. dAtA[i] = 0x10
  866. i++
  867. i = encodeVarintGift(dAtA, i, uint64(m.GiftNum))
  868. }
  869. if m.ExpireAt != 0 {
  870. dAtA[i] = 0x18
  871. i++
  872. i = encodeVarintGift(dAtA, i, uint64(m.ExpireAt))
  873. }
  874. if m.XXX_unrecognized != nil {
  875. i += copy(dAtA[i:], m.XXX_unrecognized)
  876. }
  877. return i, nil
  878. }
  879. func (m *GiftConfigReq) Marshal() (dAtA []byte, err error) {
  880. size := m.Size()
  881. dAtA = make([]byte, size)
  882. n, err := m.MarshalTo(dAtA)
  883. if err != nil {
  884. return nil, err
  885. }
  886. return dAtA[:n], nil
  887. }
  888. func (m *GiftConfigReq) MarshalTo(dAtA []byte) (int, error) {
  889. var i int
  890. _ = i
  891. var l int
  892. _ = l
  893. if len(m.Platform) > 0 {
  894. dAtA[i] = 0xa
  895. i++
  896. i = encodeVarintGift(dAtA, i, uint64(len(m.Platform)))
  897. i += copy(dAtA[i:], m.Platform)
  898. }
  899. if m.Build != 0 {
  900. dAtA[i] = 0x10
  901. i++
  902. i = encodeVarintGift(dAtA, i, uint64(m.Build))
  903. }
  904. if m.XXX_unrecognized != nil {
  905. i += copy(dAtA[i:], m.XXX_unrecognized)
  906. }
  907. return i, nil
  908. }
  909. func (m *GiftConfigResp) Marshal() (dAtA []byte, err error) {
  910. size := m.Size()
  911. dAtA = make([]byte, size)
  912. n, err := m.MarshalTo(dAtA)
  913. if err != nil {
  914. return nil, err
  915. }
  916. return dAtA[:n], nil
  917. }
  918. func (m *GiftConfigResp) MarshalTo(dAtA []byte) (int, error) {
  919. var i int
  920. _ = i
  921. var l int
  922. _ = l
  923. if len(m.List) > 0 {
  924. for _, msg := range m.List {
  925. dAtA[i] = 0xa
  926. i++
  927. i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
  928. n, err := msg.MarshalTo(dAtA[i:])
  929. if err != nil {
  930. return 0, err
  931. }
  932. i += n
  933. }
  934. }
  935. if m.XXX_unrecognized != nil {
  936. i += copy(dAtA[i:], m.XXX_unrecognized)
  937. }
  938. return i, nil
  939. }
  940. func (m *GiftConfigResp_Config) Marshal() (dAtA []byte, err error) {
  941. size := m.Size()
  942. dAtA = make([]byte, size)
  943. n, err := m.MarshalTo(dAtA)
  944. if err != nil {
  945. return nil, err
  946. }
  947. return dAtA[:n], nil
  948. }
  949. func (m *GiftConfigResp_Config) MarshalTo(dAtA []byte) (int, error) {
  950. var i int
  951. _ = i
  952. var l int
  953. _ = l
  954. if m.Id != 0 {
  955. dAtA[i] = 0x8
  956. i++
  957. i = encodeVarintGift(dAtA, i, uint64(m.Id))
  958. }
  959. if len(m.Name) > 0 {
  960. dAtA[i] = 0x12
  961. i++
  962. i = encodeVarintGift(dAtA, i, uint64(len(m.Name)))
  963. i += copy(dAtA[i:], m.Name)
  964. }
  965. if m.Price != 0 {
  966. dAtA[i] = 0x18
  967. i++
  968. i = encodeVarintGift(dAtA, i, uint64(m.Price))
  969. }
  970. if m.Type != 0 {
  971. dAtA[i] = 0x20
  972. i++
  973. i = encodeVarintGift(dAtA, i, uint64(m.Type))
  974. }
  975. if len(m.CoinType) > 0 {
  976. dAtA[i] = 0x2a
  977. i++
  978. i = encodeVarintGift(dAtA, i, uint64(len(m.CoinType)))
  979. i += copy(dAtA[i:], m.CoinType)
  980. }
  981. if m.BagGift != 0 {
  982. dAtA[i] = 0x30
  983. i++
  984. i = encodeVarintGift(dAtA, i, uint64(m.BagGift))
  985. }
  986. if m.Effect != 0 {
  987. dAtA[i] = 0x38
  988. i++
  989. i = encodeVarintGift(dAtA, i, uint64(m.Effect))
  990. }
  991. if len(m.CornerMark) > 0 {
  992. dAtA[i] = 0x42
  993. i++
  994. i = encodeVarintGift(dAtA, i, uint64(len(m.CornerMark)))
  995. i += copy(dAtA[i:], m.CornerMark)
  996. }
  997. if m.Broadcast != 0 {
  998. dAtA[i] = 0x48
  999. i++
  1000. i = encodeVarintGift(dAtA, i, uint64(m.Broadcast))
  1001. }
  1002. if m.Draw != 0 {
  1003. dAtA[i] = 0x50
  1004. i++
  1005. i = encodeVarintGift(dAtA, i, uint64(m.Draw))
  1006. }
  1007. if m.StayTime != 0 {
  1008. dAtA[i] = 0x58
  1009. i++
  1010. i = encodeVarintGift(dAtA, i, uint64(m.StayTime))
  1011. }
  1012. if m.AnimationFrameNum != 0 {
  1013. dAtA[i] = 0x60
  1014. i++
  1015. i = encodeVarintGift(dAtA, i, uint64(m.AnimationFrameNum))
  1016. }
  1017. if len(m.Desc) > 0 {
  1018. dAtA[i] = 0x6a
  1019. i++
  1020. i = encodeVarintGift(dAtA, i, uint64(len(m.Desc)))
  1021. i += copy(dAtA[i:], m.Desc)
  1022. }
  1023. if len(m.Rule) > 0 {
  1024. dAtA[i] = 0x72
  1025. i++
  1026. i = encodeVarintGift(dAtA, i, uint64(len(m.Rule)))
  1027. i += copy(dAtA[i:], m.Rule)
  1028. }
  1029. if len(m.Rights) > 0 {
  1030. dAtA[i] = 0x7a
  1031. i++
  1032. i = encodeVarintGift(dAtA, i, uint64(len(m.Rights)))
  1033. i += copy(dAtA[i:], m.Rights)
  1034. }
  1035. if m.PrivilegeRequired != 0 {
  1036. dAtA[i] = 0x80
  1037. i++
  1038. dAtA[i] = 0x1
  1039. i++
  1040. i = encodeVarintGift(dAtA, i, uint64(m.PrivilegeRequired))
  1041. }
  1042. if len(m.CountMap) > 0 {
  1043. for _, msg := range m.CountMap {
  1044. dAtA[i] = 0x8a
  1045. i++
  1046. dAtA[i] = 0x1
  1047. i++
  1048. i = encodeVarintGift(dAtA, i, uint64(msg.Size()))
  1049. n, err := msg.MarshalTo(dAtA[i:])
  1050. if err != nil {
  1051. return 0, err
  1052. }
  1053. i += n
  1054. }
  1055. }
  1056. if len(m.ImgBasic) > 0 {
  1057. dAtA[i] = 0x92
  1058. i++
  1059. dAtA[i] = 0x1
  1060. i++
  1061. i = encodeVarintGift(dAtA, i, uint64(len(m.ImgBasic)))
  1062. i += copy(dAtA[i:], m.ImgBasic)
  1063. }
  1064. if len(m.ImgDynamic) > 0 {
  1065. dAtA[i] = 0x9a
  1066. i++
  1067. dAtA[i] = 0x1
  1068. i++
  1069. i = encodeVarintGift(dAtA, i, uint64(len(m.ImgDynamic)))
  1070. i += copy(dAtA[i:], m.ImgDynamic)
  1071. }
  1072. if len(m.FrameAnimation) > 0 {
  1073. dAtA[i] = 0xa2
  1074. i++
  1075. dAtA[i] = 0x1
  1076. i++
  1077. i = encodeVarintGift(dAtA, i, uint64(len(m.FrameAnimation)))
  1078. i += copy(dAtA[i:], m.FrameAnimation)
  1079. }
  1080. if len(m.Gif) > 0 {
  1081. dAtA[i] = 0xaa
  1082. i++
  1083. dAtA[i] = 0x1
  1084. i++
  1085. i = encodeVarintGift(dAtA, i, uint64(len(m.Gif)))
  1086. i += copy(dAtA[i:], m.Gif)
  1087. }
  1088. if len(m.Webp) > 0 {
  1089. dAtA[i] = 0xb2
  1090. i++
  1091. dAtA[i] = 0x1
  1092. i++
  1093. i = encodeVarintGift(dAtA, i, uint64(len(m.Webp)))
  1094. i += copy(dAtA[i:], m.Webp)
  1095. }
  1096. if len(m.FullScWeb) > 0 {
  1097. dAtA[i] = 0xba
  1098. i++
  1099. dAtA[i] = 0x1
  1100. i++
  1101. i = encodeVarintGift(dAtA, i, uint64(len(m.FullScWeb)))
  1102. i += copy(dAtA[i:], m.FullScWeb)
  1103. }
  1104. if len(m.FullScHorizontal) > 0 {
  1105. dAtA[i] = 0xc2
  1106. i++
  1107. dAtA[i] = 0x1
  1108. i++
  1109. i = encodeVarintGift(dAtA, i, uint64(len(m.FullScHorizontal)))
  1110. i += copy(dAtA[i:], m.FullScHorizontal)
  1111. }
  1112. if len(m.FullScVertical) > 0 {
  1113. dAtA[i] = 0xca
  1114. i++
  1115. dAtA[i] = 0x1
  1116. i++
  1117. i = encodeVarintGift(dAtA, i, uint64(len(m.FullScVertical)))
  1118. i += copy(dAtA[i:], m.FullScVertical)
  1119. }
  1120. if len(m.FullScHorizontalSvga) > 0 {
  1121. dAtA[i] = 0xd2
  1122. i++
  1123. dAtA[i] = 0x1
  1124. i++
  1125. i = encodeVarintGift(dAtA, i, uint64(len(m.FullScHorizontalSvga)))
  1126. i += copy(dAtA[i:], m.FullScHorizontalSvga)
  1127. }
  1128. if len(m.FullScVerticalSvga) > 0 {
  1129. dAtA[i] = 0xda
  1130. i++
  1131. dAtA[i] = 0x1
  1132. i++
  1133. i = encodeVarintGift(dAtA, i, uint64(len(m.FullScVerticalSvga)))
  1134. i += copy(dAtA[i:], m.FullScVerticalSvga)
  1135. }
  1136. if len(m.BulletHead) > 0 {
  1137. dAtA[i] = 0xe2
  1138. i++
  1139. dAtA[i] = 0x1
  1140. i++
  1141. i = encodeVarintGift(dAtA, i, uint64(len(m.BulletHead)))
  1142. i += copy(dAtA[i:], m.BulletHead)
  1143. }
  1144. if len(m.BulletTail) > 0 {
  1145. dAtA[i] = 0xea
  1146. i++
  1147. dAtA[i] = 0x1
  1148. i++
  1149. i = encodeVarintGift(dAtA, i, uint64(len(m.BulletTail)))
  1150. i += copy(dAtA[i:], m.BulletTail)
  1151. }
  1152. if m.LimitInterval != 0 {
  1153. dAtA[i] = 0xf0
  1154. i++
  1155. dAtA[i] = 0x1
  1156. i++
  1157. i = encodeVarintGift(dAtA, i, uint64(m.LimitInterval))
  1158. }
  1159. if m.XXX_unrecognized != nil {
  1160. i += copy(dAtA[i:], m.XXX_unrecognized)
  1161. }
  1162. return i, nil
  1163. }
  1164. func (m *GiftConfigResp_CountMap) Marshal() (dAtA []byte, err error) {
  1165. size := m.Size()
  1166. dAtA = make([]byte, size)
  1167. n, err := m.MarshalTo(dAtA)
  1168. if err != nil {
  1169. return nil, err
  1170. }
  1171. return dAtA[:n], nil
  1172. }
  1173. func (m *GiftConfigResp_CountMap) MarshalTo(dAtA []byte) (int, error) {
  1174. var i int
  1175. _ = i
  1176. var l int
  1177. _ = l
  1178. if m.Num != 0 {
  1179. dAtA[i] = 0x8
  1180. i++
  1181. i = encodeVarintGift(dAtA, i, uint64(m.Num))
  1182. }
  1183. if len(m.Text) > 0 {
  1184. dAtA[i] = 0x12
  1185. i++
  1186. i = encodeVarintGift(dAtA, i, uint64(len(m.Text)))
  1187. i += copy(dAtA[i:], m.Text)
  1188. }
  1189. if m.XXX_unrecognized != nil {
  1190. i += copy(dAtA[i:], m.XXX_unrecognized)
  1191. }
  1192. return i, nil
  1193. }
  1194. func (m *NeedTipRechargeReq) Marshal() (dAtA []byte, err error) {
  1195. size := m.Size()
  1196. dAtA = make([]byte, size)
  1197. n, err := m.MarshalTo(dAtA)
  1198. if err != nil {
  1199. return nil, err
  1200. }
  1201. return dAtA[:n], nil
  1202. }
  1203. func (m *NeedTipRechargeReq) MarshalTo(dAtA []byte) (int, error) {
  1204. var i int
  1205. _ = i
  1206. var l int
  1207. _ = l
  1208. if m.From != 0 {
  1209. dAtA[i] = 0x8
  1210. i++
  1211. i = encodeVarintGift(dAtA, i, uint64(m.From))
  1212. }
  1213. if m.NeedGold != 0 {
  1214. dAtA[i] = 0x10
  1215. i++
  1216. i = encodeVarintGift(dAtA, i, uint64(m.NeedGold))
  1217. }
  1218. if len(m.Platform) > 0 {
  1219. dAtA[i] = 0x1a
  1220. i++
  1221. i = encodeVarintGift(dAtA, i, uint64(len(m.Platform)))
  1222. i += copy(dAtA[i:], m.Platform)
  1223. }
  1224. if m.XXX_unrecognized != nil {
  1225. i += copy(dAtA[i:], m.XXX_unrecognized)
  1226. }
  1227. return i, nil
  1228. }
  1229. func (m *NeedTipRechargeResp) Marshal() (dAtA []byte, err error) {
  1230. size := m.Size()
  1231. dAtA = make([]byte, size)
  1232. n, err := m.MarshalTo(dAtA)
  1233. if err != nil {
  1234. return nil, err
  1235. }
  1236. return dAtA[:n], nil
  1237. }
  1238. func (m *NeedTipRechargeResp) MarshalTo(dAtA []byte) (int, error) {
  1239. var i int
  1240. _ = i
  1241. var l int
  1242. _ = l
  1243. if m.Show != 0 {
  1244. dAtA[i] = 0x8
  1245. i++
  1246. i = encodeVarintGift(dAtA, i, uint64(m.Show))
  1247. }
  1248. if m.Bp != 0 {
  1249. dAtA[i] = 0x15
  1250. i++
  1251. encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Bp))))
  1252. i += 4
  1253. }
  1254. if m.BpCoupon != 0 {
  1255. dAtA[i] = 0x1d
  1256. i++
  1257. encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.BpCoupon))))
  1258. i += 4
  1259. }
  1260. if m.RechargeGold != 0 {
  1261. dAtA[i] = 0x20
  1262. i++
  1263. i = encodeVarintGift(dAtA, i, uint64(m.RechargeGold))
  1264. }
  1265. if m.XXX_unrecognized != nil {
  1266. i += copy(dAtA[i:], m.XXX_unrecognized)
  1267. }
  1268. return i, nil
  1269. }
  1270. func (m *TipRechargeActionReq) Marshal() (dAtA []byte, err error) {
  1271. size := m.Size()
  1272. dAtA = make([]byte, size)
  1273. n, err := m.MarshalTo(dAtA)
  1274. if err != nil {
  1275. return nil, err
  1276. }
  1277. return dAtA[:n], nil
  1278. }
  1279. func (m *TipRechargeActionReq) MarshalTo(dAtA []byte) (int, error) {
  1280. var i int
  1281. _ = i
  1282. var l int
  1283. _ = l
  1284. if m.From != 0 {
  1285. dAtA[i] = 0x8
  1286. i++
  1287. i = encodeVarintGift(dAtA, i, uint64(m.From))
  1288. }
  1289. if m.Action != 0 {
  1290. dAtA[i] = 0x10
  1291. i++
  1292. i = encodeVarintGift(dAtA, i, uint64(m.Action))
  1293. }
  1294. if m.XXX_unrecognized != nil {
  1295. i += copy(dAtA[i:], m.XXX_unrecognized)
  1296. }
  1297. return i, nil
  1298. }
  1299. func (m *TipRechargeActionResp) Marshal() (dAtA []byte, err error) {
  1300. size := m.Size()
  1301. dAtA = make([]byte, size)
  1302. n, err := m.MarshalTo(dAtA)
  1303. if err != nil {
  1304. return nil, err
  1305. }
  1306. return dAtA[:n], nil
  1307. }
  1308. func (m *TipRechargeActionResp) MarshalTo(dAtA []byte) (int, error) {
  1309. var i int
  1310. _ = i
  1311. var l int
  1312. _ = l
  1313. if m.XXX_unrecognized != nil {
  1314. i += copy(dAtA[i:], m.XXX_unrecognized)
  1315. }
  1316. return i, nil
  1317. }
  1318. func encodeVarintGift(dAtA []byte, offset int, v uint64) int {
  1319. for v >= 1<<7 {
  1320. dAtA[offset] = uint8(v&0x7f | 0x80)
  1321. v >>= 7
  1322. offset++
  1323. }
  1324. dAtA[offset] = uint8(v)
  1325. return offset + 1
  1326. }
  1327. func (m *DailyBagReq) Size() (n int) {
  1328. if m == nil {
  1329. return 0
  1330. }
  1331. var l int
  1332. _ = l
  1333. if m.XXX_unrecognized != nil {
  1334. n += len(m.XXX_unrecognized)
  1335. }
  1336. return n
  1337. }
  1338. func (m *DailyBagResp) Size() (n int) {
  1339. if m == nil {
  1340. return 0
  1341. }
  1342. var l int
  1343. _ = l
  1344. if m.BagStatus != 0 {
  1345. n += 1 + sovGift(uint64(m.BagStatus))
  1346. }
  1347. if m.BagExpireStatus != 0 {
  1348. n += 1 + sovGift(uint64(m.BagExpireStatus))
  1349. }
  1350. if m.BagToast != nil {
  1351. l = m.BagToast.Size()
  1352. n += 1 + l + sovGift(uint64(l))
  1353. }
  1354. if len(m.BagList) > 0 {
  1355. for _, e := range m.BagList {
  1356. l = e.Size()
  1357. n += 1 + l + sovGift(uint64(l))
  1358. }
  1359. }
  1360. if m.XXX_unrecognized != nil {
  1361. n += len(m.XXX_unrecognized)
  1362. }
  1363. return n
  1364. }
  1365. func (m *DailyBagResp_BagToast) Size() (n int) {
  1366. if m == nil {
  1367. return 0
  1368. }
  1369. var l int
  1370. _ = l
  1371. if m.ToastStatus != 0 {
  1372. n += 1 + sovGift(uint64(m.ToastStatus))
  1373. }
  1374. l = len(m.ToastMessage)
  1375. if l > 0 {
  1376. n += 1 + l + sovGift(uint64(l))
  1377. }
  1378. if m.XXX_unrecognized != nil {
  1379. n += len(m.XXX_unrecognized)
  1380. }
  1381. return n
  1382. }
  1383. func (m *DailyBagResp_BagList) Size() (n int) {
  1384. if m == nil {
  1385. return 0
  1386. }
  1387. var l int
  1388. _ = l
  1389. if m.Type != 0 {
  1390. n += 1 + sovGift(uint64(m.Type))
  1391. }
  1392. l = len(m.BagName)
  1393. if l > 0 {
  1394. n += 1 + l + sovGift(uint64(l))
  1395. }
  1396. if m.Source != nil {
  1397. l = m.Source.Size()
  1398. n += 1 + l + sovGift(uint64(l))
  1399. }
  1400. if len(m.GiftList) > 0 {
  1401. for _, e := range m.GiftList {
  1402. l = e.Size()
  1403. n += 1 + l + sovGift(uint64(l))
  1404. }
  1405. }
  1406. if m.XXX_unrecognized != nil {
  1407. n += len(m.XXX_unrecognized)
  1408. }
  1409. return n
  1410. }
  1411. func (m *DailyBagResp_BagList_Source) Size() (n int) {
  1412. if m == nil {
  1413. return 0
  1414. }
  1415. var l int
  1416. _ = l
  1417. if m.MedalId != 0 {
  1418. n += 1 + sovGift(uint64(m.MedalId))
  1419. }
  1420. l = len(m.MedalName)
  1421. if l > 0 {
  1422. n += 1 + l + sovGift(uint64(l))
  1423. }
  1424. if m.Level != 0 {
  1425. n += 1 + sovGift(uint64(m.Level))
  1426. }
  1427. if m.UserLevel != 0 {
  1428. n += 1 + sovGift(uint64(m.UserLevel))
  1429. }
  1430. if m.XXX_unrecognized != nil {
  1431. n += len(m.XXX_unrecognized)
  1432. }
  1433. return n
  1434. }
  1435. func (m *DailyBagResp_BagList_GiftList) Size() (n int) {
  1436. if m == nil {
  1437. return 0
  1438. }
  1439. var l int
  1440. _ = l
  1441. l = len(m.GiftId)
  1442. if l > 0 {
  1443. n += 1 + l + sovGift(uint64(l))
  1444. }
  1445. if m.GiftNum != 0 {
  1446. n += 1 + sovGift(uint64(m.GiftNum))
  1447. }
  1448. if m.ExpireAt != 0 {
  1449. n += 1 + sovGift(uint64(m.ExpireAt))
  1450. }
  1451. if m.XXX_unrecognized != nil {
  1452. n += len(m.XXX_unrecognized)
  1453. }
  1454. return n
  1455. }
  1456. func (m *GiftConfigReq) Size() (n int) {
  1457. if m == nil {
  1458. return 0
  1459. }
  1460. var l int
  1461. _ = l
  1462. l = len(m.Platform)
  1463. if l > 0 {
  1464. n += 1 + l + sovGift(uint64(l))
  1465. }
  1466. if m.Build != 0 {
  1467. n += 1 + sovGift(uint64(m.Build))
  1468. }
  1469. if m.XXX_unrecognized != nil {
  1470. n += len(m.XXX_unrecognized)
  1471. }
  1472. return n
  1473. }
  1474. func (m *GiftConfigResp) Size() (n int) {
  1475. if m == nil {
  1476. return 0
  1477. }
  1478. var l int
  1479. _ = l
  1480. if len(m.List) > 0 {
  1481. for _, e := range m.List {
  1482. l = e.Size()
  1483. n += 1 + l + sovGift(uint64(l))
  1484. }
  1485. }
  1486. if m.XXX_unrecognized != nil {
  1487. n += len(m.XXX_unrecognized)
  1488. }
  1489. return n
  1490. }
  1491. func (m *GiftConfigResp_Config) Size() (n int) {
  1492. if m == nil {
  1493. return 0
  1494. }
  1495. var l int
  1496. _ = l
  1497. if m.Id != 0 {
  1498. n += 1 + sovGift(uint64(m.Id))
  1499. }
  1500. l = len(m.Name)
  1501. if l > 0 {
  1502. n += 1 + l + sovGift(uint64(l))
  1503. }
  1504. if m.Price != 0 {
  1505. n += 1 + sovGift(uint64(m.Price))
  1506. }
  1507. if m.Type != 0 {
  1508. n += 1 + sovGift(uint64(m.Type))
  1509. }
  1510. l = len(m.CoinType)
  1511. if l > 0 {
  1512. n += 1 + l + sovGift(uint64(l))
  1513. }
  1514. if m.BagGift != 0 {
  1515. n += 1 + sovGift(uint64(m.BagGift))
  1516. }
  1517. if m.Effect != 0 {
  1518. n += 1 + sovGift(uint64(m.Effect))
  1519. }
  1520. l = len(m.CornerMark)
  1521. if l > 0 {
  1522. n += 1 + l + sovGift(uint64(l))
  1523. }
  1524. if m.Broadcast != 0 {
  1525. n += 1 + sovGift(uint64(m.Broadcast))
  1526. }
  1527. if m.Draw != 0 {
  1528. n += 1 + sovGift(uint64(m.Draw))
  1529. }
  1530. if m.StayTime != 0 {
  1531. n += 1 + sovGift(uint64(m.StayTime))
  1532. }
  1533. if m.AnimationFrameNum != 0 {
  1534. n += 1 + sovGift(uint64(m.AnimationFrameNum))
  1535. }
  1536. l = len(m.Desc)
  1537. if l > 0 {
  1538. n += 1 + l + sovGift(uint64(l))
  1539. }
  1540. l = len(m.Rule)
  1541. if l > 0 {
  1542. n += 1 + l + sovGift(uint64(l))
  1543. }
  1544. l = len(m.Rights)
  1545. if l > 0 {
  1546. n += 1 + l + sovGift(uint64(l))
  1547. }
  1548. if m.PrivilegeRequired != 0 {
  1549. n += 2 + sovGift(uint64(m.PrivilegeRequired))
  1550. }
  1551. if len(m.CountMap) > 0 {
  1552. for _, e := range m.CountMap {
  1553. l = e.Size()
  1554. n += 2 + l + sovGift(uint64(l))
  1555. }
  1556. }
  1557. l = len(m.ImgBasic)
  1558. if l > 0 {
  1559. n += 2 + l + sovGift(uint64(l))
  1560. }
  1561. l = len(m.ImgDynamic)
  1562. if l > 0 {
  1563. n += 2 + l + sovGift(uint64(l))
  1564. }
  1565. l = len(m.FrameAnimation)
  1566. if l > 0 {
  1567. n += 2 + l + sovGift(uint64(l))
  1568. }
  1569. l = len(m.Gif)
  1570. if l > 0 {
  1571. n += 2 + l + sovGift(uint64(l))
  1572. }
  1573. l = len(m.Webp)
  1574. if l > 0 {
  1575. n += 2 + l + sovGift(uint64(l))
  1576. }
  1577. l = len(m.FullScWeb)
  1578. if l > 0 {
  1579. n += 2 + l + sovGift(uint64(l))
  1580. }
  1581. l = len(m.FullScHorizontal)
  1582. if l > 0 {
  1583. n += 2 + l + sovGift(uint64(l))
  1584. }
  1585. l = len(m.FullScVertical)
  1586. if l > 0 {
  1587. n += 2 + l + sovGift(uint64(l))
  1588. }
  1589. l = len(m.FullScHorizontalSvga)
  1590. if l > 0 {
  1591. n += 2 + l + sovGift(uint64(l))
  1592. }
  1593. l = len(m.FullScVerticalSvga)
  1594. if l > 0 {
  1595. n += 2 + l + sovGift(uint64(l))
  1596. }
  1597. l = len(m.BulletHead)
  1598. if l > 0 {
  1599. n += 2 + l + sovGift(uint64(l))
  1600. }
  1601. l = len(m.BulletTail)
  1602. if l > 0 {
  1603. n += 2 + l + sovGift(uint64(l))
  1604. }
  1605. if m.LimitInterval != 0 {
  1606. n += 2 + sovGift(uint64(m.LimitInterval))
  1607. }
  1608. if m.XXX_unrecognized != nil {
  1609. n += len(m.XXX_unrecognized)
  1610. }
  1611. return n
  1612. }
  1613. func (m *GiftConfigResp_CountMap) Size() (n int) {
  1614. if m == nil {
  1615. return 0
  1616. }
  1617. var l int
  1618. _ = l
  1619. if m.Num != 0 {
  1620. n += 1 + sovGift(uint64(m.Num))
  1621. }
  1622. l = len(m.Text)
  1623. if l > 0 {
  1624. n += 1 + l + sovGift(uint64(l))
  1625. }
  1626. if m.XXX_unrecognized != nil {
  1627. n += len(m.XXX_unrecognized)
  1628. }
  1629. return n
  1630. }
  1631. func (m *NeedTipRechargeReq) Size() (n int) {
  1632. if m == nil {
  1633. return 0
  1634. }
  1635. var l int
  1636. _ = l
  1637. if m.From != 0 {
  1638. n += 1 + sovGift(uint64(m.From))
  1639. }
  1640. if m.NeedGold != 0 {
  1641. n += 1 + sovGift(uint64(m.NeedGold))
  1642. }
  1643. l = len(m.Platform)
  1644. if l > 0 {
  1645. n += 1 + l + sovGift(uint64(l))
  1646. }
  1647. if m.XXX_unrecognized != nil {
  1648. n += len(m.XXX_unrecognized)
  1649. }
  1650. return n
  1651. }
  1652. func (m *NeedTipRechargeResp) Size() (n int) {
  1653. if m == nil {
  1654. return 0
  1655. }
  1656. var l int
  1657. _ = l
  1658. if m.Show != 0 {
  1659. n += 1 + sovGift(uint64(m.Show))
  1660. }
  1661. if m.Bp != 0 {
  1662. n += 5
  1663. }
  1664. if m.BpCoupon != 0 {
  1665. n += 5
  1666. }
  1667. if m.RechargeGold != 0 {
  1668. n += 1 + sovGift(uint64(m.RechargeGold))
  1669. }
  1670. if m.XXX_unrecognized != nil {
  1671. n += len(m.XXX_unrecognized)
  1672. }
  1673. return n
  1674. }
  1675. func (m *TipRechargeActionReq) Size() (n int) {
  1676. if m == nil {
  1677. return 0
  1678. }
  1679. var l int
  1680. _ = l
  1681. if m.From != 0 {
  1682. n += 1 + sovGift(uint64(m.From))
  1683. }
  1684. if m.Action != 0 {
  1685. n += 1 + sovGift(uint64(m.Action))
  1686. }
  1687. if m.XXX_unrecognized != nil {
  1688. n += len(m.XXX_unrecognized)
  1689. }
  1690. return n
  1691. }
  1692. func (m *TipRechargeActionResp) Size() (n int) {
  1693. if m == nil {
  1694. return 0
  1695. }
  1696. var l int
  1697. _ = l
  1698. if m.XXX_unrecognized != nil {
  1699. n += len(m.XXX_unrecognized)
  1700. }
  1701. return n
  1702. }
  1703. func sovGift(x uint64) (n int) {
  1704. for {
  1705. n++
  1706. x >>= 7
  1707. if x == 0 {
  1708. break
  1709. }
  1710. }
  1711. return n
  1712. }
  1713. func sozGift(x uint64) (n int) {
  1714. return sovGift(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1715. }
  1716. func (m *DailyBagReq) Unmarshal(dAtA []byte) error {
  1717. l := len(dAtA)
  1718. iNdEx := 0
  1719. for iNdEx < l {
  1720. preIndex := iNdEx
  1721. var wire uint64
  1722. for shift := uint(0); ; shift += 7 {
  1723. if shift >= 64 {
  1724. return ErrIntOverflowGift
  1725. }
  1726. if iNdEx >= l {
  1727. return io.ErrUnexpectedEOF
  1728. }
  1729. b := dAtA[iNdEx]
  1730. iNdEx++
  1731. wire |= (uint64(b) & 0x7F) << shift
  1732. if b < 0x80 {
  1733. break
  1734. }
  1735. }
  1736. fieldNum := int32(wire >> 3)
  1737. wireType := int(wire & 0x7)
  1738. if wireType == 4 {
  1739. return fmt.Errorf("proto: DailyBagReq: wiretype end group for non-group")
  1740. }
  1741. if fieldNum <= 0 {
  1742. return fmt.Errorf("proto: DailyBagReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1743. }
  1744. switch fieldNum {
  1745. default:
  1746. iNdEx = preIndex
  1747. skippy, err := skipGift(dAtA[iNdEx:])
  1748. if err != nil {
  1749. return err
  1750. }
  1751. if skippy < 0 {
  1752. return ErrInvalidLengthGift
  1753. }
  1754. if (iNdEx + skippy) > l {
  1755. return io.ErrUnexpectedEOF
  1756. }
  1757. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1758. iNdEx += skippy
  1759. }
  1760. }
  1761. if iNdEx > l {
  1762. return io.ErrUnexpectedEOF
  1763. }
  1764. return nil
  1765. }
  1766. func (m *DailyBagResp) Unmarshal(dAtA []byte) error {
  1767. l := len(dAtA)
  1768. iNdEx := 0
  1769. for iNdEx < l {
  1770. preIndex := iNdEx
  1771. var wire uint64
  1772. for shift := uint(0); ; shift += 7 {
  1773. if shift >= 64 {
  1774. return ErrIntOverflowGift
  1775. }
  1776. if iNdEx >= l {
  1777. return io.ErrUnexpectedEOF
  1778. }
  1779. b := dAtA[iNdEx]
  1780. iNdEx++
  1781. wire |= (uint64(b) & 0x7F) << shift
  1782. if b < 0x80 {
  1783. break
  1784. }
  1785. }
  1786. fieldNum := int32(wire >> 3)
  1787. wireType := int(wire & 0x7)
  1788. if wireType == 4 {
  1789. return fmt.Errorf("proto: DailyBagResp: wiretype end group for non-group")
  1790. }
  1791. if fieldNum <= 0 {
  1792. return fmt.Errorf("proto: DailyBagResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1793. }
  1794. switch fieldNum {
  1795. case 1:
  1796. if wireType != 0 {
  1797. return fmt.Errorf("proto: wrong wireType = %d for field BagStatus", wireType)
  1798. }
  1799. m.BagStatus = 0
  1800. for shift := uint(0); ; shift += 7 {
  1801. if shift >= 64 {
  1802. return ErrIntOverflowGift
  1803. }
  1804. if iNdEx >= l {
  1805. return io.ErrUnexpectedEOF
  1806. }
  1807. b := dAtA[iNdEx]
  1808. iNdEx++
  1809. m.BagStatus |= (int64(b) & 0x7F) << shift
  1810. if b < 0x80 {
  1811. break
  1812. }
  1813. }
  1814. case 2:
  1815. if wireType != 0 {
  1816. return fmt.Errorf("proto: wrong wireType = %d for field BagExpireStatus", wireType)
  1817. }
  1818. m.BagExpireStatus = 0
  1819. for shift := uint(0); ; shift += 7 {
  1820. if shift >= 64 {
  1821. return ErrIntOverflowGift
  1822. }
  1823. if iNdEx >= l {
  1824. return io.ErrUnexpectedEOF
  1825. }
  1826. b := dAtA[iNdEx]
  1827. iNdEx++
  1828. m.BagExpireStatus |= (int64(b) & 0x7F) << shift
  1829. if b < 0x80 {
  1830. break
  1831. }
  1832. }
  1833. case 3:
  1834. if wireType != 2 {
  1835. return fmt.Errorf("proto: wrong wireType = %d for field BagToast", wireType)
  1836. }
  1837. var msglen int
  1838. for shift := uint(0); ; shift += 7 {
  1839. if shift >= 64 {
  1840. return ErrIntOverflowGift
  1841. }
  1842. if iNdEx >= l {
  1843. return io.ErrUnexpectedEOF
  1844. }
  1845. b := dAtA[iNdEx]
  1846. iNdEx++
  1847. msglen |= (int(b) & 0x7F) << shift
  1848. if b < 0x80 {
  1849. break
  1850. }
  1851. }
  1852. if msglen < 0 {
  1853. return ErrInvalidLengthGift
  1854. }
  1855. postIndex := iNdEx + msglen
  1856. if postIndex > l {
  1857. return io.ErrUnexpectedEOF
  1858. }
  1859. if m.BagToast == nil {
  1860. m.BagToast = &DailyBagResp_BagToast{}
  1861. }
  1862. if err := m.BagToast.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1863. return err
  1864. }
  1865. iNdEx = postIndex
  1866. case 4:
  1867. if wireType != 2 {
  1868. return fmt.Errorf("proto: wrong wireType = %d for field BagList", wireType)
  1869. }
  1870. var msglen int
  1871. for shift := uint(0); ; shift += 7 {
  1872. if shift >= 64 {
  1873. return ErrIntOverflowGift
  1874. }
  1875. if iNdEx >= l {
  1876. return io.ErrUnexpectedEOF
  1877. }
  1878. b := dAtA[iNdEx]
  1879. iNdEx++
  1880. msglen |= (int(b) & 0x7F) << shift
  1881. if b < 0x80 {
  1882. break
  1883. }
  1884. }
  1885. if msglen < 0 {
  1886. return ErrInvalidLengthGift
  1887. }
  1888. postIndex := iNdEx + msglen
  1889. if postIndex > l {
  1890. return io.ErrUnexpectedEOF
  1891. }
  1892. m.BagList = append(m.BagList, &DailyBagResp_BagList{})
  1893. if err := m.BagList[len(m.BagList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1894. return err
  1895. }
  1896. iNdEx = postIndex
  1897. default:
  1898. iNdEx = preIndex
  1899. skippy, err := skipGift(dAtA[iNdEx:])
  1900. if err != nil {
  1901. return err
  1902. }
  1903. if skippy < 0 {
  1904. return ErrInvalidLengthGift
  1905. }
  1906. if (iNdEx + skippy) > l {
  1907. return io.ErrUnexpectedEOF
  1908. }
  1909. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1910. iNdEx += skippy
  1911. }
  1912. }
  1913. if iNdEx > l {
  1914. return io.ErrUnexpectedEOF
  1915. }
  1916. return nil
  1917. }
  1918. func (m *DailyBagResp_BagToast) Unmarshal(dAtA []byte) error {
  1919. l := len(dAtA)
  1920. iNdEx := 0
  1921. for iNdEx < l {
  1922. preIndex := iNdEx
  1923. var wire uint64
  1924. for shift := uint(0); ; shift += 7 {
  1925. if shift >= 64 {
  1926. return ErrIntOverflowGift
  1927. }
  1928. if iNdEx >= l {
  1929. return io.ErrUnexpectedEOF
  1930. }
  1931. b := dAtA[iNdEx]
  1932. iNdEx++
  1933. wire |= (uint64(b) & 0x7F) << shift
  1934. if b < 0x80 {
  1935. break
  1936. }
  1937. }
  1938. fieldNum := int32(wire >> 3)
  1939. wireType := int(wire & 0x7)
  1940. if wireType == 4 {
  1941. return fmt.Errorf("proto: BagToast: wiretype end group for non-group")
  1942. }
  1943. if fieldNum <= 0 {
  1944. return fmt.Errorf("proto: BagToast: illegal tag %d (wire type %d)", fieldNum, wire)
  1945. }
  1946. switch fieldNum {
  1947. case 1:
  1948. if wireType != 0 {
  1949. return fmt.Errorf("proto: wrong wireType = %d for field ToastStatus", wireType)
  1950. }
  1951. m.ToastStatus = 0
  1952. for shift := uint(0); ; shift += 7 {
  1953. if shift >= 64 {
  1954. return ErrIntOverflowGift
  1955. }
  1956. if iNdEx >= l {
  1957. return io.ErrUnexpectedEOF
  1958. }
  1959. b := dAtA[iNdEx]
  1960. iNdEx++
  1961. m.ToastStatus |= (int64(b) & 0x7F) << shift
  1962. if b < 0x80 {
  1963. break
  1964. }
  1965. }
  1966. case 2:
  1967. if wireType != 2 {
  1968. return fmt.Errorf("proto: wrong wireType = %d for field ToastMessage", wireType)
  1969. }
  1970. var stringLen uint64
  1971. for shift := uint(0); ; shift += 7 {
  1972. if shift >= 64 {
  1973. return ErrIntOverflowGift
  1974. }
  1975. if iNdEx >= l {
  1976. return io.ErrUnexpectedEOF
  1977. }
  1978. b := dAtA[iNdEx]
  1979. iNdEx++
  1980. stringLen |= (uint64(b) & 0x7F) << shift
  1981. if b < 0x80 {
  1982. break
  1983. }
  1984. }
  1985. intStringLen := int(stringLen)
  1986. if intStringLen < 0 {
  1987. return ErrInvalidLengthGift
  1988. }
  1989. postIndex := iNdEx + intStringLen
  1990. if postIndex > l {
  1991. return io.ErrUnexpectedEOF
  1992. }
  1993. m.ToastMessage = string(dAtA[iNdEx:postIndex])
  1994. iNdEx = postIndex
  1995. default:
  1996. iNdEx = preIndex
  1997. skippy, err := skipGift(dAtA[iNdEx:])
  1998. if err != nil {
  1999. return err
  2000. }
  2001. if skippy < 0 {
  2002. return ErrInvalidLengthGift
  2003. }
  2004. if (iNdEx + skippy) > l {
  2005. return io.ErrUnexpectedEOF
  2006. }
  2007. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2008. iNdEx += skippy
  2009. }
  2010. }
  2011. if iNdEx > l {
  2012. return io.ErrUnexpectedEOF
  2013. }
  2014. return nil
  2015. }
  2016. func (m *DailyBagResp_BagList) Unmarshal(dAtA []byte) error {
  2017. l := len(dAtA)
  2018. iNdEx := 0
  2019. for iNdEx < l {
  2020. preIndex := iNdEx
  2021. var wire uint64
  2022. for shift := uint(0); ; shift += 7 {
  2023. if shift >= 64 {
  2024. return ErrIntOverflowGift
  2025. }
  2026. if iNdEx >= l {
  2027. return io.ErrUnexpectedEOF
  2028. }
  2029. b := dAtA[iNdEx]
  2030. iNdEx++
  2031. wire |= (uint64(b) & 0x7F) << shift
  2032. if b < 0x80 {
  2033. break
  2034. }
  2035. }
  2036. fieldNum := int32(wire >> 3)
  2037. wireType := int(wire & 0x7)
  2038. if wireType == 4 {
  2039. return fmt.Errorf("proto: BagList: wiretype end group for non-group")
  2040. }
  2041. if fieldNum <= 0 {
  2042. return fmt.Errorf("proto: BagList: illegal tag %d (wire type %d)", fieldNum, wire)
  2043. }
  2044. switch fieldNum {
  2045. case 1:
  2046. if wireType != 0 {
  2047. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2048. }
  2049. m.Type = 0
  2050. for shift := uint(0); ; shift += 7 {
  2051. if shift >= 64 {
  2052. return ErrIntOverflowGift
  2053. }
  2054. if iNdEx >= l {
  2055. return io.ErrUnexpectedEOF
  2056. }
  2057. b := dAtA[iNdEx]
  2058. iNdEx++
  2059. m.Type |= (int64(b) & 0x7F) << shift
  2060. if b < 0x80 {
  2061. break
  2062. }
  2063. }
  2064. case 2:
  2065. if wireType != 2 {
  2066. return fmt.Errorf("proto: wrong wireType = %d for field BagName", wireType)
  2067. }
  2068. var stringLen uint64
  2069. for shift := uint(0); ; shift += 7 {
  2070. if shift >= 64 {
  2071. return ErrIntOverflowGift
  2072. }
  2073. if iNdEx >= l {
  2074. return io.ErrUnexpectedEOF
  2075. }
  2076. b := dAtA[iNdEx]
  2077. iNdEx++
  2078. stringLen |= (uint64(b) & 0x7F) << shift
  2079. if b < 0x80 {
  2080. break
  2081. }
  2082. }
  2083. intStringLen := int(stringLen)
  2084. if intStringLen < 0 {
  2085. return ErrInvalidLengthGift
  2086. }
  2087. postIndex := iNdEx + intStringLen
  2088. if postIndex > l {
  2089. return io.ErrUnexpectedEOF
  2090. }
  2091. m.BagName = string(dAtA[iNdEx:postIndex])
  2092. iNdEx = postIndex
  2093. case 3:
  2094. if wireType != 2 {
  2095. return fmt.Errorf("proto: wrong wireType = %d for field Source", wireType)
  2096. }
  2097. var msglen int
  2098. for shift := uint(0); ; shift += 7 {
  2099. if shift >= 64 {
  2100. return ErrIntOverflowGift
  2101. }
  2102. if iNdEx >= l {
  2103. return io.ErrUnexpectedEOF
  2104. }
  2105. b := dAtA[iNdEx]
  2106. iNdEx++
  2107. msglen |= (int(b) & 0x7F) << shift
  2108. if b < 0x80 {
  2109. break
  2110. }
  2111. }
  2112. if msglen < 0 {
  2113. return ErrInvalidLengthGift
  2114. }
  2115. postIndex := iNdEx + msglen
  2116. if postIndex > l {
  2117. return io.ErrUnexpectedEOF
  2118. }
  2119. if m.Source == nil {
  2120. m.Source = &DailyBagResp_BagList_Source{}
  2121. }
  2122. if err := m.Source.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2123. return err
  2124. }
  2125. iNdEx = postIndex
  2126. case 4:
  2127. if wireType != 2 {
  2128. return fmt.Errorf("proto: wrong wireType = %d for field GiftList", wireType)
  2129. }
  2130. var msglen int
  2131. for shift := uint(0); ; shift += 7 {
  2132. if shift >= 64 {
  2133. return ErrIntOverflowGift
  2134. }
  2135. if iNdEx >= l {
  2136. return io.ErrUnexpectedEOF
  2137. }
  2138. b := dAtA[iNdEx]
  2139. iNdEx++
  2140. msglen |= (int(b) & 0x7F) << shift
  2141. if b < 0x80 {
  2142. break
  2143. }
  2144. }
  2145. if msglen < 0 {
  2146. return ErrInvalidLengthGift
  2147. }
  2148. postIndex := iNdEx + msglen
  2149. if postIndex > l {
  2150. return io.ErrUnexpectedEOF
  2151. }
  2152. m.GiftList = append(m.GiftList, &DailyBagResp_BagList_GiftList{})
  2153. if err := m.GiftList[len(m.GiftList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2154. return err
  2155. }
  2156. iNdEx = postIndex
  2157. default:
  2158. iNdEx = preIndex
  2159. skippy, err := skipGift(dAtA[iNdEx:])
  2160. if err != nil {
  2161. return err
  2162. }
  2163. if skippy < 0 {
  2164. return ErrInvalidLengthGift
  2165. }
  2166. if (iNdEx + skippy) > l {
  2167. return io.ErrUnexpectedEOF
  2168. }
  2169. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2170. iNdEx += skippy
  2171. }
  2172. }
  2173. if iNdEx > l {
  2174. return io.ErrUnexpectedEOF
  2175. }
  2176. return nil
  2177. }
  2178. func (m *DailyBagResp_BagList_Source) Unmarshal(dAtA []byte) error {
  2179. l := len(dAtA)
  2180. iNdEx := 0
  2181. for iNdEx < l {
  2182. preIndex := iNdEx
  2183. var wire uint64
  2184. for shift := uint(0); ; shift += 7 {
  2185. if shift >= 64 {
  2186. return ErrIntOverflowGift
  2187. }
  2188. if iNdEx >= l {
  2189. return io.ErrUnexpectedEOF
  2190. }
  2191. b := dAtA[iNdEx]
  2192. iNdEx++
  2193. wire |= (uint64(b) & 0x7F) << shift
  2194. if b < 0x80 {
  2195. break
  2196. }
  2197. }
  2198. fieldNum := int32(wire >> 3)
  2199. wireType := int(wire & 0x7)
  2200. if wireType == 4 {
  2201. return fmt.Errorf("proto: Source: wiretype end group for non-group")
  2202. }
  2203. if fieldNum <= 0 {
  2204. return fmt.Errorf("proto: Source: illegal tag %d (wire type %d)", fieldNum, wire)
  2205. }
  2206. switch fieldNum {
  2207. case 1:
  2208. if wireType != 0 {
  2209. return fmt.Errorf("proto: wrong wireType = %d for field MedalId", wireType)
  2210. }
  2211. m.MedalId = 0
  2212. for shift := uint(0); ; shift += 7 {
  2213. if shift >= 64 {
  2214. return ErrIntOverflowGift
  2215. }
  2216. if iNdEx >= l {
  2217. return io.ErrUnexpectedEOF
  2218. }
  2219. b := dAtA[iNdEx]
  2220. iNdEx++
  2221. m.MedalId |= (int64(b) & 0x7F) << shift
  2222. if b < 0x80 {
  2223. break
  2224. }
  2225. }
  2226. case 2:
  2227. if wireType != 2 {
  2228. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  2229. }
  2230. var stringLen uint64
  2231. for shift := uint(0); ; shift += 7 {
  2232. if shift >= 64 {
  2233. return ErrIntOverflowGift
  2234. }
  2235. if iNdEx >= l {
  2236. return io.ErrUnexpectedEOF
  2237. }
  2238. b := dAtA[iNdEx]
  2239. iNdEx++
  2240. stringLen |= (uint64(b) & 0x7F) << shift
  2241. if b < 0x80 {
  2242. break
  2243. }
  2244. }
  2245. intStringLen := int(stringLen)
  2246. if intStringLen < 0 {
  2247. return ErrInvalidLengthGift
  2248. }
  2249. postIndex := iNdEx + intStringLen
  2250. if postIndex > l {
  2251. return io.ErrUnexpectedEOF
  2252. }
  2253. m.MedalName = string(dAtA[iNdEx:postIndex])
  2254. iNdEx = postIndex
  2255. case 3:
  2256. if wireType != 0 {
  2257. return fmt.Errorf("proto: wrong wireType = %d for field Level", wireType)
  2258. }
  2259. m.Level = 0
  2260. for shift := uint(0); ; shift += 7 {
  2261. if shift >= 64 {
  2262. return ErrIntOverflowGift
  2263. }
  2264. if iNdEx >= l {
  2265. return io.ErrUnexpectedEOF
  2266. }
  2267. b := dAtA[iNdEx]
  2268. iNdEx++
  2269. m.Level |= (int64(b) & 0x7F) << shift
  2270. if b < 0x80 {
  2271. break
  2272. }
  2273. }
  2274. case 4:
  2275. if wireType != 0 {
  2276. return fmt.Errorf("proto: wrong wireType = %d for field UserLevel", wireType)
  2277. }
  2278. m.UserLevel = 0
  2279. for shift := uint(0); ; shift += 7 {
  2280. if shift >= 64 {
  2281. return ErrIntOverflowGift
  2282. }
  2283. if iNdEx >= l {
  2284. return io.ErrUnexpectedEOF
  2285. }
  2286. b := dAtA[iNdEx]
  2287. iNdEx++
  2288. m.UserLevel |= (int64(b) & 0x7F) << shift
  2289. if b < 0x80 {
  2290. break
  2291. }
  2292. }
  2293. default:
  2294. iNdEx = preIndex
  2295. skippy, err := skipGift(dAtA[iNdEx:])
  2296. if err != nil {
  2297. return err
  2298. }
  2299. if skippy < 0 {
  2300. return ErrInvalidLengthGift
  2301. }
  2302. if (iNdEx + skippy) > l {
  2303. return io.ErrUnexpectedEOF
  2304. }
  2305. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2306. iNdEx += skippy
  2307. }
  2308. }
  2309. if iNdEx > l {
  2310. return io.ErrUnexpectedEOF
  2311. }
  2312. return nil
  2313. }
  2314. func (m *DailyBagResp_BagList_GiftList) Unmarshal(dAtA []byte) error {
  2315. l := len(dAtA)
  2316. iNdEx := 0
  2317. for iNdEx < l {
  2318. preIndex := iNdEx
  2319. var wire uint64
  2320. for shift := uint(0); ; shift += 7 {
  2321. if shift >= 64 {
  2322. return ErrIntOverflowGift
  2323. }
  2324. if iNdEx >= l {
  2325. return io.ErrUnexpectedEOF
  2326. }
  2327. b := dAtA[iNdEx]
  2328. iNdEx++
  2329. wire |= (uint64(b) & 0x7F) << shift
  2330. if b < 0x80 {
  2331. break
  2332. }
  2333. }
  2334. fieldNum := int32(wire >> 3)
  2335. wireType := int(wire & 0x7)
  2336. if wireType == 4 {
  2337. return fmt.Errorf("proto: GiftList: wiretype end group for non-group")
  2338. }
  2339. if fieldNum <= 0 {
  2340. return fmt.Errorf("proto: GiftList: illegal tag %d (wire type %d)", fieldNum, wire)
  2341. }
  2342. switch fieldNum {
  2343. case 1:
  2344. if wireType != 2 {
  2345. return fmt.Errorf("proto: wrong wireType = %d for field GiftId", wireType)
  2346. }
  2347. var stringLen uint64
  2348. for shift := uint(0); ; shift += 7 {
  2349. if shift >= 64 {
  2350. return ErrIntOverflowGift
  2351. }
  2352. if iNdEx >= l {
  2353. return io.ErrUnexpectedEOF
  2354. }
  2355. b := dAtA[iNdEx]
  2356. iNdEx++
  2357. stringLen |= (uint64(b) & 0x7F) << shift
  2358. if b < 0x80 {
  2359. break
  2360. }
  2361. }
  2362. intStringLen := int(stringLen)
  2363. if intStringLen < 0 {
  2364. return ErrInvalidLengthGift
  2365. }
  2366. postIndex := iNdEx + intStringLen
  2367. if postIndex > l {
  2368. return io.ErrUnexpectedEOF
  2369. }
  2370. m.GiftId = string(dAtA[iNdEx:postIndex])
  2371. iNdEx = postIndex
  2372. case 2:
  2373. if wireType != 0 {
  2374. return fmt.Errorf("proto: wrong wireType = %d for field GiftNum", wireType)
  2375. }
  2376. m.GiftNum = 0
  2377. for shift := uint(0); ; shift += 7 {
  2378. if shift >= 64 {
  2379. return ErrIntOverflowGift
  2380. }
  2381. if iNdEx >= l {
  2382. return io.ErrUnexpectedEOF
  2383. }
  2384. b := dAtA[iNdEx]
  2385. iNdEx++
  2386. m.GiftNum |= (int64(b) & 0x7F) << shift
  2387. if b < 0x80 {
  2388. break
  2389. }
  2390. }
  2391. case 3:
  2392. if wireType != 0 {
  2393. return fmt.Errorf("proto: wrong wireType = %d for field ExpireAt", wireType)
  2394. }
  2395. m.ExpireAt = 0
  2396. for shift := uint(0); ; shift += 7 {
  2397. if shift >= 64 {
  2398. return ErrIntOverflowGift
  2399. }
  2400. if iNdEx >= l {
  2401. return io.ErrUnexpectedEOF
  2402. }
  2403. b := dAtA[iNdEx]
  2404. iNdEx++
  2405. m.ExpireAt |= (int64(b) & 0x7F) << shift
  2406. if b < 0x80 {
  2407. break
  2408. }
  2409. }
  2410. default:
  2411. iNdEx = preIndex
  2412. skippy, err := skipGift(dAtA[iNdEx:])
  2413. if err != nil {
  2414. return err
  2415. }
  2416. if skippy < 0 {
  2417. return ErrInvalidLengthGift
  2418. }
  2419. if (iNdEx + skippy) > l {
  2420. return io.ErrUnexpectedEOF
  2421. }
  2422. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2423. iNdEx += skippy
  2424. }
  2425. }
  2426. if iNdEx > l {
  2427. return io.ErrUnexpectedEOF
  2428. }
  2429. return nil
  2430. }
  2431. func (m *GiftConfigReq) Unmarshal(dAtA []byte) error {
  2432. l := len(dAtA)
  2433. iNdEx := 0
  2434. for iNdEx < l {
  2435. preIndex := iNdEx
  2436. var wire uint64
  2437. for shift := uint(0); ; shift += 7 {
  2438. if shift >= 64 {
  2439. return ErrIntOverflowGift
  2440. }
  2441. if iNdEx >= l {
  2442. return io.ErrUnexpectedEOF
  2443. }
  2444. b := dAtA[iNdEx]
  2445. iNdEx++
  2446. wire |= (uint64(b) & 0x7F) << shift
  2447. if b < 0x80 {
  2448. break
  2449. }
  2450. }
  2451. fieldNum := int32(wire >> 3)
  2452. wireType := int(wire & 0x7)
  2453. if wireType == 4 {
  2454. return fmt.Errorf("proto: GiftConfigReq: wiretype end group for non-group")
  2455. }
  2456. if fieldNum <= 0 {
  2457. return fmt.Errorf("proto: GiftConfigReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2458. }
  2459. switch fieldNum {
  2460. case 1:
  2461. if wireType != 2 {
  2462. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2463. }
  2464. var stringLen uint64
  2465. for shift := uint(0); ; shift += 7 {
  2466. if shift >= 64 {
  2467. return ErrIntOverflowGift
  2468. }
  2469. if iNdEx >= l {
  2470. return io.ErrUnexpectedEOF
  2471. }
  2472. b := dAtA[iNdEx]
  2473. iNdEx++
  2474. stringLen |= (uint64(b) & 0x7F) << shift
  2475. if b < 0x80 {
  2476. break
  2477. }
  2478. }
  2479. intStringLen := int(stringLen)
  2480. if intStringLen < 0 {
  2481. return ErrInvalidLengthGift
  2482. }
  2483. postIndex := iNdEx + intStringLen
  2484. if postIndex > l {
  2485. return io.ErrUnexpectedEOF
  2486. }
  2487. m.Platform = string(dAtA[iNdEx:postIndex])
  2488. iNdEx = postIndex
  2489. case 2:
  2490. if wireType != 0 {
  2491. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  2492. }
  2493. m.Build = 0
  2494. for shift := uint(0); ; shift += 7 {
  2495. if shift >= 64 {
  2496. return ErrIntOverflowGift
  2497. }
  2498. if iNdEx >= l {
  2499. return io.ErrUnexpectedEOF
  2500. }
  2501. b := dAtA[iNdEx]
  2502. iNdEx++
  2503. m.Build |= (int64(b) & 0x7F) << shift
  2504. if b < 0x80 {
  2505. break
  2506. }
  2507. }
  2508. default:
  2509. iNdEx = preIndex
  2510. skippy, err := skipGift(dAtA[iNdEx:])
  2511. if err != nil {
  2512. return err
  2513. }
  2514. if skippy < 0 {
  2515. return ErrInvalidLengthGift
  2516. }
  2517. if (iNdEx + skippy) > l {
  2518. return io.ErrUnexpectedEOF
  2519. }
  2520. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2521. iNdEx += skippy
  2522. }
  2523. }
  2524. if iNdEx > l {
  2525. return io.ErrUnexpectedEOF
  2526. }
  2527. return nil
  2528. }
  2529. func (m *GiftConfigResp) Unmarshal(dAtA []byte) error {
  2530. l := len(dAtA)
  2531. iNdEx := 0
  2532. for iNdEx < l {
  2533. preIndex := iNdEx
  2534. var wire uint64
  2535. for shift := uint(0); ; shift += 7 {
  2536. if shift >= 64 {
  2537. return ErrIntOverflowGift
  2538. }
  2539. if iNdEx >= l {
  2540. return io.ErrUnexpectedEOF
  2541. }
  2542. b := dAtA[iNdEx]
  2543. iNdEx++
  2544. wire |= (uint64(b) & 0x7F) << shift
  2545. if b < 0x80 {
  2546. break
  2547. }
  2548. }
  2549. fieldNum := int32(wire >> 3)
  2550. wireType := int(wire & 0x7)
  2551. if wireType == 4 {
  2552. return fmt.Errorf("proto: GiftConfigResp: wiretype end group for non-group")
  2553. }
  2554. if fieldNum <= 0 {
  2555. return fmt.Errorf("proto: GiftConfigResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2556. }
  2557. switch fieldNum {
  2558. case 1:
  2559. if wireType != 2 {
  2560. return fmt.Errorf("proto: wrong wireType = %d for field List", wireType)
  2561. }
  2562. var msglen int
  2563. for shift := uint(0); ; shift += 7 {
  2564. if shift >= 64 {
  2565. return ErrIntOverflowGift
  2566. }
  2567. if iNdEx >= l {
  2568. return io.ErrUnexpectedEOF
  2569. }
  2570. b := dAtA[iNdEx]
  2571. iNdEx++
  2572. msglen |= (int(b) & 0x7F) << shift
  2573. if b < 0x80 {
  2574. break
  2575. }
  2576. }
  2577. if msglen < 0 {
  2578. return ErrInvalidLengthGift
  2579. }
  2580. postIndex := iNdEx + msglen
  2581. if postIndex > l {
  2582. return io.ErrUnexpectedEOF
  2583. }
  2584. m.List = append(m.List, &GiftConfigResp_Config{})
  2585. if err := m.List[len(m.List)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2586. return err
  2587. }
  2588. iNdEx = postIndex
  2589. default:
  2590. iNdEx = preIndex
  2591. skippy, err := skipGift(dAtA[iNdEx:])
  2592. if err != nil {
  2593. return err
  2594. }
  2595. if skippy < 0 {
  2596. return ErrInvalidLengthGift
  2597. }
  2598. if (iNdEx + skippy) > l {
  2599. return io.ErrUnexpectedEOF
  2600. }
  2601. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2602. iNdEx += skippy
  2603. }
  2604. }
  2605. if iNdEx > l {
  2606. return io.ErrUnexpectedEOF
  2607. }
  2608. return nil
  2609. }
  2610. func (m *GiftConfigResp_Config) Unmarshal(dAtA []byte) error {
  2611. l := len(dAtA)
  2612. iNdEx := 0
  2613. for iNdEx < l {
  2614. preIndex := iNdEx
  2615. var wire uint64
  2616. for shift := uint(0); ; shift += 7 {
  2617. if shift >= 64 {
  2618. return ErrIntOverflowGift
  2619. }
  2620. if iNdEx >= l {
  2621. return io.ErrUnexpectedEOF
  2622. }
  2623. b := dAtA[iNdEx]
  2624. iNdEx++
  2625. wire |= (uint64(b) & 0x7F) << shift
  2626. if b < 0x80 {
  2627. break
  2628. }
  2629. }
  2630. fieldNum := int32(wire >> 3)
  2631. wireType := int(wire & 0x7)
  2632. if wireType == 4 {
  2633. return fmt.Errorf("proto: Config: wiretype end group for non-group")
  2634. }
  2635. if fieldNum <= 0 {
  2636. return fmt.Errorf("proto: Config: illegal tag %d (wire type %d)", fieldNum, wire)
  2637. }
  2638. switch fieldNum {
  2639. case 1:
  2640. if wireType != 0 {
  2641. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  2642. }
  2643. m.Id = 0
  2644. for shift := uint(0); ; shift += 7 {
  2645. if shift >= 64 {
  2646. return ErrIntOverflowGift
  2647. }
  2648. if iNdEx >= l {
  2649. return io.ErrUnexpectedEOF
  2650. }
  2651. b := dAtA[iNdEx]
  2652. iNdEx++
  2653. m.Id |= (int64(b) & 0x7F) << shift
  2654. if b < 0x80 {
  2655. break
  2656. }
  2657. }
  2658. case 2:
  2659. if wireType != 2 {
  2660. return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
  2661. }
  2662. var stringLen uint64
  2663. for shift := uint(0); ; shift += 7 {
  2664. if shift >= 64 {
  2665. return ErrIntOverflowGift
  2666. }
  2667. if iNdEx >= l {
  2668. return io.ErrUnexpectedEOF
  2669. }
  2670. b := dAtA[iNdEx]
  2671. iNdEx++
  2672. stringLen |= (uint64(b) & 0x7F) << shift
  2673. if b < 0x80 {
  2674. break
  2675. }
  2676. }
  2677. intStringLen := int(stringLen)
  2678. if intStringLen < 0 {
  2679. return ErrInvalidLengthGift
  2680. }
  2681. postIndex := iNdEx + intStringLen
  2682. if postIndex > l {
  2683. return io.ErrUnexpectedEOF
  2684. }
  2685. m.Name = string(dAtA[iNdEx:postIndex])
  2686. iNdEx = postIndex
  2687. case 3:
  2688. if wireType != 0 {
  2689. return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
  2690. }
  2691. m.Price = 0
  2692. for shift := uint(0); ; shift += 7 {
  2693. if shift >= 64 {
  2694. return ErrIntOverflowGift
  2695. }
  2696. if iNdEx >= l {
  2697. return io.ErrUnexpectedEOF
  2698. }
  2699. b := dAtA[iNdEx]
  2700. iNdEx++
  2701. m.Price |= (int64(b) & 0x7F) << shift
  2702. if b < 0x80 {
  2703. break
  2704. }
  2705. }
  2706. case 4:
  2707. if wireType != 0 {
  2708. return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  2709. }
  2710. m.Type = 0
  2711. for shift := uint(0); ; shift += 7 {
  2712. if shift >= 64 {
  2713. return ErrIntOverflowGift
  2714. }
  2715. if iNdEx >= l {
  2716. return io.ErrUnexpectedEOF
  2717. }
  2718. b := dAtA[iNdEx]
  2719. iNdEx++
  2720. m.Type |= (int64(b) & 0x7F) << shift
  2721. if b < 0x80 {
  2722. break
  2723. }
  2724. }
  2725. case 5:
  2726. if wireType != 2 {
  2727. return fmt.Errorf("proto: wrong wireType = %d for field CoinType", wireType)
  2728. }
  2729. var stringLen uint64
  2730. for shift := uint(0); ; shift += 7 {
  2731. if shift >= 64 {
  2732. return ErrIntOverflowGift
  2733. }
  2734. if iNdEx >= l {
  2735. return io.ErrUnexpectedEOF
  2736. }
  2737. b := dAtA[iNdEx]
  2738. iNdEx++
  2739. stringLen |= (uint64(b) & 0x7F) << shift
  2740. if b < 0x80 {
  2741. break
  2742. }
  2743. }
  2744. intStringLen := int(stringLen)
  2745. if intStringLen < 0 {
  2746. return ErrInvalidLengthGift
  2747. }
  2748. postIndex := iNdEx + intStringLen
  2749. if postIndex > l {
  2750. return io.ErrUnexpectedEOF
  2751. }
  2752. m.CoinType = string(dAtA[iNdEx:postIndex])
  2753. iNdEx = postIndex
  2754. case 6:
  2755. if wireType != 0 {
  2756. return fmt.Errorf("proto: wrong wireType = %d for field BagGift", wireType)
  2757. }
  2758. m.BagGift = 0
  2759. for shift := uint(0); ; shift += 7 {
  2760. if shift >= 64 {
  2761. return ErrIntOverflowGift
  2762. }
  2763. if iNdEx >= l {
  2764. return io.ErrUnexpectedEOF
  2765. }
  2766. b := dAtA[iNdEx]
  2767. iNdEx++
  2768. m.BagGift |= (int64(b) & 0x7F) << shift
  2769. if b < 0x80 {
  2770. break
  2771. }
  2772. }
  2773. case 7:
  2774. if wireType != 0 {
  2775. return fmt.Errorf("proto: wrong wireType = %d for field Effect", wireType)
  2776. }
  2777. m.Effect = 0
  2778. for shift := uint(0); ; shift += 7 {
  2779. if shift >= 64 {
  2780. return ErrIntOverflowGift
  2781. }
  2782. if iNdEx >= l {
  2783. return io.ErrUnexpectedEOF
  2784. }
  2785. b := dAtA[iNdEx]
  2786. iNdEx++
  2787. m.Effect |= (int64(b) & 0x7F) << shift
  2788. if b < 0x80 {
  2789. break
  2790. }
  2791. }
  2792. case 8:
  2793. if wireType != 2 {
  2794. return fmt.Errorf("proto: wrong wireType = %d for field CornerMark", wireType)
  2795. }
  2796. var stringLen uint64
  2797. for shift := uint(0); ; shift += 7 {
  2798. if shift >= 64 {
  2799. return ErrIntOverflowGift
  2800. }
  2801. if iNdEx >= l {
  2802. return io.ErrUnexpectedEOF
  2803. }
  2804. b := dAtA[iNdEx]
  2805. iNdEx++
  2806. stringLen |= (uint64(b) & 0x7F) << shift
  2807. if b < 0x80 {
  2808. break
  2809. }
  2810. }
  2811. intStringLen := int(stringLen)
  2812. if intStringLen < 0 {
  2813. return ErrInvalidLengthGift
  2814. }
  2815. postIndex := iNdEx + intStringLen
  2816. if postIndex > l {
  2817. return io.ErrUnexpectedEOF
  2818. }
  2819. m.CornerMark = string(dAtA[iNdEx:postIndex])
  2820. iNdEx = postIndex
  2821. case 9:
  2822. if wireType != 0 {
  2823. return fmt.Errorf("proto: wrong wireType = %d for field Broadcast", wireType)
  2824. }
  2825. m.Broadcast = 0
  2826. for shift := uint(0); ; shift += 7 {
  2827. if shift >= 64 {
  2828. return ErrIntOverflowGift
  2829. }
  2830. if iNdEx >= l {
  2831. return io.ErrUnexpectedEOF
  2832. }
  2833. b := dAtA[iNdEx]
  2834. iNdEx++
  2835. m.Broadcast |= (int64(b) & 0x7F) << shift
  2836. if b < 0x80 {
  2837. break
  2838. }
  2839. }
  2840. case 10:
  2841. if wireType != 0 {
  2842. return fmt.Errorf("proto: wrong wireType = %d for field Draw", wireType)
  2843. }
  2844. m.Draw = 0
  2845. for shift := uint(0); ; shift += 7 {
  2846. if shift >= 64 {
  2847. return ErrIntOverflowGift
  2848. }
  2849. if iNdEx >= l {
  2850. return io.ErrUnexpectedEOF
  2851. }
  2852. b := dAtA[iNdEx]
  2853. iNdEx++
  2854. m.Draw |= (int64(b) & 0x7F) << shift
  2855. if b < 0x80 {
  2856. break
  2857. }
  2858. }
  2859. case 11:
  2860. if wireType != 0 {
  2861. return fmt.Errorf("proto: wrong wireType = %d for field StayTime", wireType)
  2862. }
  2863. m.StayTime = 0
  2864. for shift := uint(0); ; shift += 7 {
  2865. if shift >= 64 {
  2866. return ErrIntOverflowGift
  2867. }
  2868. if iNdEx >= l {
  2869. return io.ErrUnexpectedEOF
  2870. }
  2871. b := dAtA[iNdEx]
  2872. iNdEx++
  2873. m.StayTime |= (int64(b) & 0x7F) << shift
  2874. if b < 0x80 {
  2875. break
  2876. }
  2877. }
  2878. case 12:
  2879. if wireType != 0 {
  2880. return fmt.Errorf("proto: wrong wireType = %d for field AnimationFrameNum", wireType)
  2881. }
  2882. m.AnimationFrameNum = 0
  2883. for shift := uint(0); ; shift += 7 {
  2884. if shift >= 64 {
  2885. return ErrIntOverflowGift
  2886. }
  2887. if iNdEx >= l {
  2888. return io.ErrUnexpectedEOF
  2889. }
  2890. b := dAtA[iNdEx]
  2891. iNdEx++
  2892. m.AnimationFrameNum |= (int64(b) & 0x7F) << shift
  2893. if b < 0x80 {
  2894. break
  2895. }
  2896. }
  2897. case 13:
  2898. if wireType != 2 {
  2899. return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
  2900. }
  2901. var stringLen uint64
  2902. for shift := uint(0); ; shift += 7 {
  2903. if shift >= 64 {
  2904. return ErrIntOverflowGift
  2905. }
  2906. if iNdEx >= l {
  2907. return io.ErrUnexpectedEOF
  2908. }
  2909. b := dAtA[iNdEx]
  2910. iNdEx++
  2911. stringLen |= (uint64(b) & 0x7F) << shift
  2912. if b < 0x80 {
  2913. break
  2914. }
  2915. }
  2916. intStringLen := int(stringLen)
  2917. if intStringLen < 0 {
  2918. return ErrInvalidLengthGift
  2919. }
  2920. postIndex := iNdEx + intStringLen
  2921. if postIndex > l {
  2922. return io.ErrUnexpectedEOF
  2923. }
  2924. m.Desc = string(dAtA[iNdEx:postIndex])
  2925. iNdEx = postIndex
  2926. case 14:
  2927. if wireType != 2 {
  2928. return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
  2929. }
  2930. var stringLen uint64
  2931. for shift := uint(0); ; shift += 7 {
  2932. if shift >= 64 {
  2933. return ErrIntOverflowGift
  2934. }
  2935. if iNdEx >= l {
  2936. return io.ErrUnexpectedEOF
  2937. }
  2938. b := dAtA[iNdEx]
  2939. iNdEx++
  2940. stringLen |= (uint64(b) & 0x7F) << shift
  2941. if b < 0x80 {
  2942. break
  2943. }
  2944. }
  2945. intStringLen := int(stringLen)
  2946. if intStringLen < 0 {
  2947. return ErrInvalidLengthGift
  2948. }
  2949. postIndex := iNdEx + intStringLen
  2950. if postIndex > l {
  2951. return io.ErrUnexpectedEOF
  2952. }
  2953. m.Rule = string(dAtA[iNdEx:postIndex])
  2954. iNdEx = postIndex
  2955. case 15:
  2956. if wireType != 2 {
  2957. return fmt.Errorf("proto: wrong wireType = %d for field Rights", wireType)
  2958. }
  2959. var stringLen uint64
  2960. for shift := uint(0); ; shift += 7 {
  2961. if shift >= 64 {
  2962. return ErrIntOverflowGift
  2963. }
  2964. if iNdEx >= l {
  2965. return io.ErrUnexpectedEOF
  2966. }
  2967. b := dAtA[iNdEx]
  2968. iNdEx++
  2969. stringLen |= (uint64(b) & 0x7F) << shift
  2970. if b < 0x80 {
  2971. break
  2972. }
  2973. }
  2974. intStringLen := int(stringLen)
  2975. if intStringLen < 0 {
  2976. return ErrInvalidLengthGift
  2977. }
  2978. postIndex := iNdEx + intStringLen
  2979. if postIndex > l {
  2980. return io.ErrUnexpectedEOF
  2981. }
  2982. m.Rights = string(dAtA[iNdEx:postIndex])
  2983. iNdEx = postIndex
  2984. case 16:
  2985. if wireType != 0 {
  2986. return fmt.Errorf("proto: wrong wireType = %d for field PrivilegeRequired", wireType)
  2987. }
  2988. m.PrivilegeRequired = 0
  2989. for shift := uint(0); ; shift += 7 {
  2990. if shift >= 64 {
  2991. return ErrIntOverflowGift
  2992. }
  2993. if iNdEx >= l {
  2994. return io.ErrUnexpectedEOF
  2995. }
  2996. b := dAtA[iNdEx]
  2997. iNdEx++
  2998. m.PrivilegeRequired |= (int64(b) & 0x7F) << shift
  2999. if b < 0x80 {
  3000. break
  3001. }
  3002. }
  3003. case 17:
  3004. if wireType != 2 {
  3005. return fmt.Errorf("proto: wrong wireType = %d for field CountMap", wireType)
  3006. }
  3007. var msglen int
  3008. for shift := uint(0); ; shift += 7 {
  3009. if shift >= 64 {
  3010. return ErrIntOverflowGift
  3011. }
  3012. if iNdEx >= l {
  3013. return io.ErrUnexpectedEOF
  3014. }
  3015. b := dAtA[iNdEx]
  3016. iNdEx++
  3017. msglen |= (int(b) & 0x7F) << shift
  3018. if b < 0x80 {
  3019. break
  3020. }
  3021. }
  3022. if msglen < 0 {
  3023. return ErrInvalidLengthGift
  3024. }
  3025. postIndex := iNdEx + msglen
  3026. if postIndex > l {
  3027. return io.ErrUnexpectedEOF
  3028. }
  3029. m.CountMap = append(m.CountMap, &GiftConfigResp_CountMap{})
  3030. if err := m.CountMap[len(m.CountMap)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  3031. return err
  3032. }
  3033. iNdEx = postIndex
  3034. case 18:
  3035. if wireType != 2 {
  3036. return fmt.Errorf("proto: wrong wireType = %d for field ImgBasic", wireType)
  3037. }
  3038. var stringLen uint64
  3039. for shift := uint(0); ; shift += 7 {
  3040. if shift >= 64 {
  3041. return ErrIntOverflowGift
  3042. }
  3043. if iNdEx >= l {
  3044. return io.ErrUnexpectedEOF
  3045. }
  3046. b := dAtA[iNdEx]
  3047. iNdEx++
  3048. stringLen |= (uint64(b) & 0x7F) << shift
  3049. if b < 0x80 {
  3050. break
  3051. }
  3052. }
  3053. intStringLen := int(stringLen)
  3054. if intStringLen < 0 {
  3055. return ErrInvalidLengthGift
  3056. }
  3057. postIndex := iNdEx + intStringLen
  3058. if postIndex > l {
  3059. return io.ErrUnexpectedEOF
  3060. }
  3061. m.ImgBasic = string(dAtA[iNdEx:postIndex])
  3062. iNdEx = postIndex
  3063. case 19:
  3064. if wireType != 2 {
  3065. return fmt.Errorf("proto: wrong wireType = %d for field ImgDynamic", wireType)
  3066. }
  3067. var stringLen uint64
  3068. for shift := uint(0); ; shift += 7 {
  3069. if shift >= 64 {
  3070. return ErrIntOverflowGift
  3071. }
  3072. if iNdEx >= l {
  3073. return io.ErrUnexpectedEOF
  3074. }
  3075. b := dAtA[iNdEx]
  3076. iNdEx++
  3077. stringLen |= (uint64(b) & 0x7F) << shift
  3078. if b < 0x80 {
  3079. break
  3080. }
  3081. }
  3082. intStringLen := int(stringLen)
  3083. if intStringLen < 0 {
  3084. return ErrInvalidLengthGift
  3085. }
  3086. postIndex := iNdEx + intStringLen
  3087. if postIndex > l {
  3088. return io.ErrUnexpectedEOF
  3089. }
  3090. m.ImgDynamic = string(dAtA[iNdEx:postIndex])
  3091. iNdEx = postIndex
  3092. case 20:
  3093. if wireType != 2 {
  3094. return fmt.Errorf("proto: wrong wireType = %d for field FrameAnimation", wireType)
  3095. }
  3096. var stringLen uint64
  3097. for shift := uint(0); ; shift += 7 {
  3098. if shift >= 64 {
  3099. return ErrIntOverflowGift
  3100. }
  3101. if iNdEx >= l {
  3102. return io.ErrUnexpectedEOF
  3103. }
  3104. b := dAtA[iNdEx]
  3105. iNdEx++
  3106. stringLen |= (uint64(b) & 0x7F) << shift
  3107. if b < 0x80 {
  3108. break
  3109. }
  3110. }
  3111. intStringLen := int(stringLen)
  3112. if intStringLen < 0 {
  3113. return ErrInvalidLengthGift
  3114. }
  3115. postIndex := iNdEx + intStringLen
  3116. if postIndex > l {
  3117. return io.ErrUnexpectedEOF
  3118. }
  3119. m.FrameAnimation = string(dAtA[iNdEx:postIndex])
  3120. iNdEx = postIndex
  3121. case 21:
  3122. if wireType != 2 {
  3123. return fmt.Errorf("proto: wrong wireType = %d for field Gif", wireType)
  3124. }
  3125. var stringLen uint64
  3126. for shift := uint(0); ; shift += 7 {
  3127. if shift >= 64 {
  3128. return ErrIntOverflowGift
  3129. }
  3130. if iNdEx >= l {
  3131. return io.ErrUnexpectedEOF
  3132. }
  3133. b := dAtA[iNdEx]
  3134. iNdEx++
  3135. stringLen |= (uint64(b) & 0x7F) << shift
  3136. if b < 0x80 {
  3137. break
  3138. }
  3139. }
  3140. intStringLen := int(stringLen)
  3141. if intStringLen < 0 {
  3142. return ErrInvalidLengthGift
  3143. }
  3144. postIndex := iNdEx + intStringLen
  3145. if postIndex > l {
  3146. return io.ErrUnexpectedEOF
  3147. }
  3148. m.Gif = string(dAtA[iNdEx:postIndex])
  3149. iNdEx = postIndex
  3150. case 22:
  3151. if wireType != 2 {
  3152. return fmt.Errorf("proto: wrong wireType = %d for field Webp", wireType)
  3153. }
  3154. var stringLen uint64
  3155. for shift := uint(0); ; shift += 7 {
  3156. if shift >= 64 {
  3157. return ErrIntOverflowGift
  3158. }
  3159. if iNdEx >= l {
  3160. return io.ErrUnexpectedEOF
  3161. }
  3162. b := dAtA[iNdEx]
  3163. iNdEx++
  3164. stringLen |= (uint64(b) & 0x7F) << shift
  3165. if b < 0x80 {
  3166. break
  3167. }
  3168. }
  3169. intStringLen := int(stringLen)
  3170. if intStringLen < 0 {
  3171. return ErrInvalidLengthGift
  3172. }
  3173. postIndex := iNdEx + intStringLen
  3174. if postIndex > l {
  3175. return io.ErrUnexpectedEOF
  3176. }
  3177. m.Webp = string(dAtA[iNdEx:postIndex])
  3178. iNdEx = postIndex
  3179. case 23:
  3180. if wireType != 2 {
  3181. return fmt.Errorf("proto: wrong wireType = %d for field FullScWeb", wireType)
  3182. }
  3183. var stringLen uint64
  3184. for shift := uint(0); ; shift += 7 {
  3185. if shift >= 64 {
  3186. return ErrIntOverflowGift
  3187. }
  3188. if iNdEx >= l {
  3189. return io.ErrUnexpectedEOF
  3190. }
  3191. b := dAtA[iNdEx]
  3192. iNdEx++
  3193. stringLen |= (uint64(b) & 0x7F) << shift
  3194. if b < 0x80 {
  3195. break
  3196. }
  3197. }
  3198. intStringLen := int(stringLen)
  3199. if intStringLen < 0 {
  3200. return ErrInvalidLengthGift
  3201. }
  3202. postIndex := iNdEx + intStringLen
  3203. if postIndex > l {
  3204. return io.ErrUnexpectedEOF
  3205. }
  3206. m.FullScWeb = string(dAtA[iNdEx:postIndex])
  3207. iNdEx = postIndex
  3208. case 24:
  3209. if wireType != 2 {
  3210. return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontal", wireType)
  3211. }
  3212. var stringLen uint64
  3213. for shift := uint(0); ; shift += 7 {
  3214. if shift >= 64 {
  3215. return ErrIntOverflowGift
  3216. }
  3217. if iNdEx >= l {
  3218. return io.ErrUnexpectedEOF
  3219. }
  3220. b := dAtA[iNdEx]
  3221. iNdEx++
  3222. stringLen |= (uint64(b) & 0x7F) << shift
  3223. if b < 0x80 {
  3224. break
  3225. }
  3226. }
  3227. intStringLen := int(stringLen)
  3228. if intStringLen < 0 {
  3229. return ErrInvalidLengthGift
  3230. }
  3231. postIndex := iNdEx + intStringLen
  3232. if postIndex > l {
  3233. return io.ErrUnexpectedEOF
  3234. }
  3235. m.FullScHorizontal = string(dAtA[iNdEx:postIndex])
  3236. iNdEx = postIndex
  3237. case 25:
  3238. if wireType != 2 {
  3239. return fmt.Errorf("proto: wrong wireType = %d for field FullScVertical", wireType)
  3240. }
  3241. var stringLen uint64
  3242. for shift := uint(0); ; shift += 7 {
  3243. if shift >= 64 {
  3244. return ErrIntOverflowGift
  3245. }
  3246. if iNdEx >= l {
  3247. return io.ErrUnexpectedEOF
  3248. }
  3249. b := dAtA[iNdEx]
  3250. iNdEx++
  3251. stringLen |= (uint64(b) & 0x7F) << shift
  3252. if b < 0x80 {
  3253. break
  3254. }
  3255. }
  3256. intStringLen := int(stringLen)
  3257. if intStringLen < 0 {
  3258. return ErrInvalidLengthGift
  3259. }
  3260. postIndex := iNdEx + intStringLen
  3261. if postIndex > l {
  3262. return io.ErrUnexpectedEOF
  3263. }
  3264. m.FullScVertical = string(dAtA[iNdEx:postIndex])
  3265. iNdEx = postIndex
  3266. case 26:
  3267. if wireType != 2 {
  3268. return fmt.Errorf("proto: wrong wireType = %d for field FullScHorizontalSvga", wireType)
  3269. }
  3270. var stringLen uint64
  3271. for shift := uint(0); ; shift += 7 {
  3272. if shift >= 64 {
  3273. return ErrIntOverflowGift
  3274. }
  3275. if iNdEx >= l {
  3276. return io.ErrUnexpectedEOF
  3277. }
  3278. b := dAtA[iNdEx]
  3279. iNdEx++
  3280. stringLen |= (uint64(b) & 0x7F) << shift
  3281. if b < 0x80 {
  3282. break
  3283. }
  3284. }
  3285. intStringLen := int(stringLen)
  3286. if intStringLen < 0 {
  3287. return ErrInvalidLengthGift
  3288. }
  3289. postIndex := iNdEx + intStringLen
  3290. if postIndex > l {
  3291. return io.ErrUnexpectedEOF
  3292. }
  3293. m.FullScHorizontalSvga = string(dAtA[iNdEx:postIndex])
  3294. iNdEx = postIndex
  3295. case 27:
  3296. if wireType != 2 {
  3297. return fmt.Errorf("proto: wrong wireType = %d for field FullScVerticalSvga", wireType)
  3298. }
  3299. var stringLen uint64
  3300. for shift := uint(0); ; shift += 7 {
  3301. if shift >= 64 {
  3302. return ErrIntOverflowGift
  3303. }
  3304. if iNdEx >= l {
  3305. return io.ErrUnexpectedEOF
  3306. }
  3307. b := dAtA[iNdEx]
  3308. iNdEx++
  3309. stringLen |= (uint64(b) & 0x7F) << shift
  3310. if b < 0x80 {
  3311. break
  3312. }
  3313. }
  3314. intStringLen := int(stringLen)
  3315. if intStringLen < 0 {
  3316. return ErrInvalidLengthGift
  3317. }
  3318. postIndex := iNdEx + intStringLen
  3319. if postIndex > l {
  3320. return io.ErrUnexpectedEOF
  3321. }
  3322. m.FullScVerticalSvga = string(dAtA[iNdEx:postIndex])
  3323. iNdEx = postIndex
  3324. case 28:
  3325. if wireType != 2 {
  3326. return fmt.Errorf("proto: wrong wireType = %d for field BulletHead", wireType)
  3327. }
  3328. var stringLen uint64
  3329. for shift := uint(0); ; shift += 7 {
  3330. if shift >= 64 {
  3331. return ErrIntOverflowGift
  3332. }
  3333. if iNdEx >= l {
  3334. return io.ErrUnexpectedEOF
  3335. }
  3336. b := dAtA[iNdEx]
  3337. iNdEx++
  3338. stringLen |= (uint64(b) & 0x7F) << shift
  3339. if b < 0x80 {
  3340. break
  3341. }
  3342. }
  3343. intStringLen := int(stringLen)
  3344. if intStringLen < 0 {
  3345. return ErrInvalidLengthGift
  3346. }
  3347. postIndex := iNdEx + intStringLen
  3348. if postIndex > l {
  3349. return io.ErrUnexpectedEOF
  3350. }
  3351. m.BulletHead = string(dAtA[iNdEx:postIndex])
  3352. iNdEx = postIndex
  3353. case 29:
  3354. if wireType != 2 {
  3355. return fmt.Errorf("proto: wrong wireType = %d for field BulletTail", wireType)
  3356. }
  3357. var stringLen uint64
  3358. for shift := uint(0); ; shift += 7 {
  3359. if shift >= 64 {
  3360. return ErrIntOverflowGift
  3361. }
  3362. if iNdEx >= l {
  3363. return io.ErrUnexpectedEOF
  3364. }
  3365. b := dAtA[iNdEx]
  3366. iNdEx++
  3367. stringLen |= (uint64(b) & 0x7F) << shift
  3368. if b < 0x80 {
  3369. break
  3370. }
  3371. }
  3372. intStringLen := int(stringLen)
  3373. if intStringLen < 0 {
  3374. return ErrInvalidLengthGift
  3375. }
  3376. postIndex := iNdEx + intStringLen
  3377. if postIndex > l {
  3378. return io.ErrUnexpectedEOF
  3379. }
  3380. m.BulletTail = string(dAtA[iNdEx:postIndex])
  3381. iNdEx = postIndex
  3382. case 30:
  3383. if wireType != 0 {
  3384. return fmt.Errorf("proto: wrong wireType = %d for field LimitInterval", wireType)
  3385. }
  3386. m.LimitInterval = 0
  3387. for shift := uint(0); ; shift += 7 {
  3388. if shift >= 64 {
  3389. return ErrIntOverflowGift
  3390. }
  3391. if iNdEx >= l {
  3392. return io.ErrUnexpectedEOF
  3393. }
  3394. b := dAtA[iNdEx]
  3395. iNdEx++
  3396. m.LimitInterval |= (int64(b) & 0x7F) << shift
  3397. if b < 0x80 {
  3398. break
  3399. }
  3400. }
  3401. default:
  3402. iNdEx = preIndex
  3403. skippy, err := skipGift(dAtA[iNdEx:])
  3404. if err != nil {
  3405. return err
  3406. }
  3407. if skippy < 0 {
  3408. return ErrInvalidLengthGift
  3409. }
  3410. if (iNdEx + skippy) > l {
  3411. return io.ErrUnexpectedEOF
  3412. }
  3413. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3414. iNdEx += skippy
  3415. }
  3416. }
  3417. if iNdEx > l {
  3418. return io.ErrUnexpectedEOF
  3419. }
  3420. return nil
  3421. }
  3422. func (m *GiftConfigResp_CountMap) Unmarshal(dAtA []byte) error {
  3423. l := len(dAtA)
  3424. iNdEx := 0
  3425. for iNdEx < l {
  3426. preIndex := iNdEx
  3427. var wire uint64
  3428. for shift := uint(0); ; shift += 7 {
  3429. if shift >= 64 {
  3430. return ErrIntOverflowGift
  3431. }
  3432. if iNdEx >= l {
  3433. return io.ErrUnexpectedEOF
  3434. }
  3435. b := dAtA[iNdEx]
  3436. iNdEx++
  3437. wire |= (uint64(b) & 0x7F) << shift
  3438. if b < 0x80 {
  3439. break
  3440. }
  3441. }
  3442. fieldNum := int32(wire >> 3)
  3443. wireType := int(wire & 0x7)
  3444. if wireType == 4 {
  3445. return fmt.Errorf("proto: CountMap: wiretype end group for non-group")
  3446. }
  3447. if fieldNum <= 0 {
  3448. return fmt.Errorf("proto: CountMap: illegal tag %d (wire type %d)", fieldNum, wire)
  3449. }
  3450. switch fieldNum {
  3451. case 1:
  3452. if wireType != 0 {
  3453. return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
  3454. }
  3455. m.Num = 0
  3456. for shift := uint(0); ; shift += 7 {
  3457. if shift >= 64 {
  3458. return ErrIntOverflowGift
  3459. }
  3460. if iNdEx >= l {
  3461. return io.ErrUnexpectedEOF
  3462. }
  3463. b := dAtA[iNdEx]
  3464. iNdEx++
  3465. m.Num |= (int64(b) & 0x7F) << shift
  3466. if b < 0x80 {
  3467. break
  3468. }
  3469. }
  3470. case 2:
  3471. if wireType != 2 {
  3472. return fmt.Errorf("proto: wrong wireType = %d for field Text", wireType)
  3473. }
  3474. var stringLen uint64
  3475. for shift := uint(0); ; shift += 7 {
  3476. if shift >= 64 {
  3477. return ErrIntOverflowGift
  3478. }
  3479. if iNdEx >= l {
  3480. return io.ErrUnexpectedEOF
  3481. }
  3482. b := dAtA[iNdEx]
  3483. iNdEx++
  3484. stringLen |= (uint64(b) & 0x7F) << shift
  3485. if b < 0x80 {
  3486. break
  3487. }
  3488. }
  3489. intStringLen := int(stringLen)
  3490. if intStringLen < 0 {
  3491. return ErrInvalidLengthGift
  3492. }
  3493. postIndex := iNdEx + intStringLen
  3494. if postIndex > l {
  3495. return io.ErrUnexpectedEOF
  3496. }
  3497. m.Text = string(dAtA[iNdEx:postIndex])
  3498. iNdEx = postIndex
  3499. default:
  3500. iNdEx = preIndex
  3501. skippy, err := skipGift(dAtA[iNdEx:])
  3502. if err != nil {
  3503. return err
  3504. }
  3505. if skippy < 0 {
  3506. return ErrInvalidLengthGift
  3507. }
  3508. if (iNdEx + skippy) > l {
  3509. return io.ErrUnexpectedEOF
  3510. }
  3511. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3512. iNdEx += skippy
  3513. }
  3514. }
  3515. if iNdEx > l {
  3516. return io.ErrUnexpectedEOF
  3517. }
  3518. return nil
  3519. }
  3520. func (m *NeedTipRechargeReq) Unmarshal(dAtA []byte) error {
  3521. l := len(dAtA)
  3522. iNdEx := 0
  3523. for iNdEx < l {
  3524. preIndex := iNdEx
  3525. var wire uint64
  3526. for shift := uint(0); ; shift += 7 {
  3527. if shift >= 64 {
  3528. return ErrIntOverflowGift
  3529. }
  3530. if iNdEx >= l {
  3531. return io.ErrUnexpectedEOF
  3532. }
  3533. b := dAtA[iNdEx]
  3534. iNdEx++
  3535. wire |= (uint64(b) & 0x7F) << shift
  3536. if b < 0x80 {
  3537. break
  3538. }
  3539. }
  3540. fieldNum := int32(wire >> 3)
  3541. wireType := int(wire & 0x7)
  3542. if wireType == 4 {
  3543. return fmt.Errorf("proto: NeedTipRechargeReq: wiretype end group for non-group")
  3544. }
  3545. if fieldNum <= 0 {
  3546. return fmt.Errorf("proto: NeedTipRechargeReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3547. }
  3548. switch fieldNum {
  3549. case 1:
  3550. if wireType != 0 {
  3551. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  3552. }
  3553. m.From = 0
  3554. for shift := uint(0); ; shift += 7 {
  3555. if shift >= 64 {
  3556. return ErrIntOverflowGift
  3557. }
  3558. if iNdEx >= l {
  3559. return io.ErrUnexpectedEOF
  3560. }
  3561. b := dAtA[iNdEx]
  3562. iNdEx++
  3563. m.From |= (From(b) & 0x7F) << shift
  3564. if b < 0x80 {
  3565. break
  3566. }
  3567. }
  3568. case 2:
  3569. if wireType != 0 {
  3570. return fmt.Errorf("proto: wrong wireType = %d for field NeedGold", wireType)
  3571. }
  3572. m.NeedGold = 0
  3573. for shift := uint(0); ; shift += 7 {
  3574. if shift >= 64 {
  3575. return ErrIntOverflowGift
  3576. }
  3577. if iNdEx >= l {
  3578. return io.ErrUnexpectedEOF
  3579. }
  3580. b := dAtA[iNdEx]
  3581. iNdEx++
  3582. m.NeedGold |= (int64(b) & 0x7F) << shift
  3583. if b < 0x80 {
  3584. break
  3585. }
  3586. }
  3587. case 3:
  3588. if wireType != 2 {
  3589. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  3590. }
  3591. var stringLen uint64
  3592. for shift := uint(0); ; shift += 7 {
  3593. if shift >= 64 {
  3594. return ErrIntOverflowGift
  3595. }
  3596. if iNdEx >= l {
  3597. return io.ErrUnexpectedEOF
  3598. }
  3599. b := dAtA[iNdEx]
  3600. iNdEx++
  3601. stringLen |= (uint64(b) & 0x7F) << shift
  3602. if b < 0x80 {
  3603. break
  3604. }
  3605. }
  3606. intStringLen := int(stringLen)
  3607. if intStringLen < 0 {
  3608. return ErrInvalidLengthGift
  3609. }
  3610. postIndex := iNdEx + intStringLen
  3611. if postIndex > l {
  3612. return io.ErrUnexpectedEOF
  3613. }
  3614. m.Platform = string(dAtA[iNdEx:postIndex])
  3615. iNdEx = postIndex
  3616. default:
  3617. iNdEx = preIndex
  3618. skippy, err := skipGift(dAtA[iNdEx:])
  3619. if err != nil {
  3620. return err
  3621. }
  3622. if skippy < 0 {
  3623. return ErrInvalidLengthGift
  3624. }
  3625. if (iNdEx + skippy) > l {
  3626. return io.ErrUnexpectedEOF
  3627. }
  3628. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3629. iNdEx += skippy
  3630. }
  3631. }
  3632. if iNdEx > l {
  3633. return io.ErrUnexpectedEOF
  3634. }
  3635. return nil
  3636. }
  3637. func (m *NeedTipRechargeResp) Unmarshal(dAtA []byte) error {
  3638. l := len(dAtA)
  3639. iNdEx := 0
  3640. for iNdEx < l {
  3641. preIndex := iNdEx
  3642. var wire uint64
  3643. for shift := uint(0); ; shift += 7 {
  3644. if shift >= 64 {
  3645. return ErrIntOverflowGift
  3646. }
  3647. if iNdEx >= l {
  3648. return io.ErrUnexpectedEOF
  3649. }
  3650. b := dAtA[iNdEx]
  3651. iNdEx++
  3652. wire |= (uint64(b) & 0x7F) << shift
  3653. if b < 0x80 {
  3654. break
  3655. }
  3656. }
  3657. fieldNum := int32(wire >> 3)
  3658. wireType := int(wire & 0x7)
  3659. if wireType == 4 {
  3660. return fmt.Errorf("proto: NeedTipRechargeResp: wiretype end group for non-group")
  3661. }
  3662. if fieldNum <= 0 {
  3663. return fmt.Errorf("proto: NeedTipRechargeResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3664. }
  3665. switch fieldNum {
  3666. case 1:
  3667. if wireType != 0 {
  3668. return fmt.Errorf("proto: wrong wireType = %d for field Show", wireType)
  3669. }
  3670. m.Show = 0
  3671. for shift := uint(0); ; shift += 7 {
  3672. if shift >= 64 {
  3673. return ErrIntOverflowGift
  3674. }
  3675. if iNdEx >= l {
  3676. return io.ErrUnexpectedEOF
  3677. }
  3678. b := dAtA[iNdEx]
  3679. iNdEx++
  3680. m.Show |= (int32(b) & 0x7F) << shift
  3681. if b < 0x80 {
  3682. break
  3683. }
  3684. }
  3685. case 2:
  3686. if wireType != 5 {
  3687. return fmt.Errorf("proto: wrong wireType = %d for field Bp", wireType)
  3688. }
  3689. var v uint32
  3690. if (iNdEx + 4) > l {
  3691. return io.ErrUnexpectedEOF
  3692. }
  3693. v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  3694. iNdEx += 4
  3695. m.Bp = float32(math.Float32frombits(v))
  3696. case 3:
  3697. if wireType != 5 {
  3698. return fmt.Errorf("proto: wrong wireType = %d for field BpCoupon", wireType)
  3699. }
  3700. var v uint32
  3701. if (iNdEx + 4) > l {
  3702. return io.ErrUnexpectedEOF
  3703. }
  3704. v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:]))
  3705. iNdEx += 4
  3706. m.BpCoupon = float32(math.Float32frombits(v))
  3707. case 4:
  3708. if wireType != 0 {
  3709. return fmt.Errorf("proto: wrong wireType = %d for field RechargeGold", wireType)
  3710. }
  3711. m.RechargeGold = 0
  3712. for shift := uint(0); ; shift += 7 {
  3713. if shift >= 64 {
  3714. return ErrIntOverflowGift
  3715. }
  3716. if iNdEx >= l {
  3717. return io.ErrUnexpectedEOF
  3718. }
  3719. b := dAtA[iNdEx]
  3720. iNdEx++
  3721. m.RechargeGold |= (int64(b) & 0x7F) << shift
  3722. if b < 0x80 {
  3723. break
  3724. }
  3725. }
  3726. default:
  3727. iNdEx = preIndex
  3728. skippy, err := skipGift(dAtA[iNdEx:])
  3729. if err != nil {
  3730. return err
  3731. }
  3732. if skippy < 0 {
  3733. return ErrInvalidLengthGift
  3734. }
  3735. if (iNdEx + skippy) > l {
  3736. return io.ErrUnexpectedEOF
  3737. }
  3738. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3739. iNdEx += skippy
  3740. }
  3741. }
  3742. if iNdEx > l {
  3743. return io.ErrUnexpectedEOF
  3744. }
  3745. return nil
  3746. }
  3747. func (m *TipRechargeActionReq) Unmarshal(dAtA []byte) error {
  3748. l := len(dAtA)
  3749. iNdEx := 0
  3750. for iNdEx < l {
  3751. preIndex := iNdEx
  3752. var wire uint64
  3753. for shift := uint(0); ; shift += 7 {
  3754. if shift >= 64 {
  3755. return ErrIntOverflowGift
  3756. }
  3757. if iNdEx >= l {
  3758. return io.ErrUnexpectedEOF
  3759. }
  3760. b := dAtA[iNdEx]
  3761. iNdEx++
  3762. wire |= (uint64(b) & 0x7F) << shift
  3763. if b < 0x80 {
  3764. break
  3765. }
  3766. }
  3767. fieldNum := int32(wire >> 3)
  3768. wireType := int(wire & 0x7)
  3769. if wireType == 4 {
  3770. return fmt.Errorf("proto: TipRechargeActionReq: wiretype end group for non-group")
  3771. }
  3772. if fieldNum <= 0 {
  3773. return fmt.Errorf("proto: TipRechargeActionReq: illegal tag %d (wire type %d)", fieldNum, wire)
  3774. }
  3775. switch fieldNum {
  3776. case 1:
  3777. if wireType != 0 {
  3778. return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
  3779. }
  3780. m.From = 0
  3781. for shift := uint(0); ; shift += 7 {
  3782. if shift >= 64 {
  3783. return ErrIntOverflowGift
  3784. }
  3785. if iNdEx >= l {
  3786. return io.ErrUnexpectedEOF
  3787. }
  3788. b := dAtA[iNdEx]
  3789. iNdEx++
  3790. m.From |= (From(b) & 0x7F) << shift
  3791. if b < 0x80 {
  3792. break
  3793. }
  3794. }
  3795. case 2:
  3796. if wireType != 0 {
  3797. return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
  3798. }
  3799. m.Action = 0
  3800. for shift := uint(0); ; shift += 7 {
  3801. if shift >= 64 {
  3802. return ErrIntOverflowGift
  3803. }
  3804. if iNdEx >= l {
  3805. return io.ErrUnexpectedEOF
  3806. }
  3807. b := dAtA[iNdEx]
  3808. iNdEx++
  3809. m.Action |= (UserAction(b) & 0x7F) << shift
  3810. if b < 0x80 {
  3811. break
  3812. }
  3813. }
  3814. default:
  3815. iNdEx = preIndex
  3816. skippy, err := skipGift(dAtA[iNdEx:])
  3817. if err != nil {
  3818. return err
  3819. }
  3820. if skippy < 0 {
  3821. return ErrInvalidLengthGift
  3822. }
  3823. if (iNdEx + skippy) > l {
  3824. return io.ErrUnexpectedEOF
  3825. }
  3826. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3827. iNdEx += skippy
  3828. }
  3829. }
  3830. if iNdEx > l {
  3831. return io.ErrUnexpectedEOF
  3832. }
  3833. return nil
  3834. }
  3835. func (m *TipRechargeActionResp) Unmarshal(dAtA []byte) error {
  3836. l := len(dAtA)
  3837. iNdEx := 0
  3838. for iNdEx < l {
  3839. preIndex := iNdEx
  3840. var wire uint64
  3841. for shift := uint(0); ; shift += 7 {
  3842. if shift >= 64 {
  3843. return ErrIntOverflowGift
  3844. }
  3845. if iNdEx >= l {
  3846. return io.ErrUnexpectedEOF
  3847. }
  3848. b := dAtA[iNdEx]
  3849. iNdEx++
  3850. wire |= (uint64(b) & 0x7F) << shift
  3851. if b < 0x80 {
  3852. break
  3853. }
  3854. }
  3855. fieldNum := int32(wire >> 3)
  3856. wireType := int(wire & 0x7)
  3857. if wireType == 4 {
  3858. return fmt.Errorf("proto: TipRechargeActionResp: wiretype end group for non-group")
  3859. }
  3860. if fieldNum <= 0 {
  3861. return fmt.Errorf("proto: TipRechargeActionResp: illegal tag %d (wire type %d)", fieldNum, wire)
  3862. }
  3863. switch fieldNum {
  3864. default:
  3865. iNdEx = preIndex
  3866. skippy, err := skipGift(dAtA[iNdEx:])
  3867. if err != nil {
  3868. return err
  3869. }
  3870. if skippy < 0 {
  3871. return ErrInvalidLengthGift
  3872. }
  3873. if (iNdEx + skippy) > l {
  3874. return io.ErrUnexpectedEOF
  3875. }
  3876. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  3877. iNdEx += skippy
  3878. }
  3879. }
  3880. if iNdEx > l {
  3881. return io.ErrUnexpectedEOF
  3882. }
  3883. return nil
  3884. }
  3885. func skipGift(dAtA []byte) (n int, err error) {
  3886. l := len(dAtA)
  3887. iNdEx := 0
  3888. for iNdEx < l {
  3889. var wire uint64
  3890. for shift := uint(0); ; shift += 7 {
  3891. if shift >= 64 {
  3892. return 0, ErrIntOverflowGift
  3893. }
  3894. if iNdEx >= l {
  3895. return 0, io.ErrUnexpectedEOF
  3896. }
  3897. b := dAtA[iNdEx]
  3898. iNdEx++
  3899. wire |= (uint64(b) & 0x7F) << shift
  3900. if b < 0x80 {
  3901. break
  3902. }
  3903. }
  3904. wireType := int(wire & 0x7)
  3905. switch wireType {
  3906. case 0:
  3907. for shift := uint(0); ; shift += 7 {
  3908. if shift >= 64 {
  3909. return 0, ErrIntOverflowGift
  3910. }
  3911. if iNdEx >= l {
  3912. return 0, io.ErrUnexpectedEOF
  3913. }
  3914. iNdEx++
  3915. if dAtA[iNdEx-1] < 0x80 {
  3916. break
  3917. }
  3918. }
  3919. return iNdEx, nil
  3920. case 1:
  3921. iNdEx += 8
  3922. return iNdEx, nil
  3923. case 2:
  3924. var length int
  3925. for shift := uint(0); ; shift += 7 {
  3926. if shift >= 64 {
  3927. return 0, ErrIntOverflowGift
  3928. }
  3929. if iNdEx >= l {
  3930. return 0, io.ErrUnexpectedEOF
  3931. }
  3932. b := dAtA[iNdEx]
  3933. iNdEx++
  3934. length |= (int(b) & 0x7F) << shift
  3935. if b < 0x80 {
  3936. break
  3937. }
  3938. }
  3939. iNdEx += length
  3940. if length < 0 {
  3941. return 0, ErrInvalidLengthGift
  3942. }
  3943. return iNdEx, nil
  3944. case 3:
  3945. for {
  3946. var innerWire uint64
  3947. var start int = iNdEx
  3948. for shift := uint(0); ; shift += 7 {
  3949. if shift >= 64 {
  3950. return 0, ErrIntOverflowGift
  3951. }
  3952. if iNdEx >= l {
  3953. return 0, io.ErrUnexpectedEOF
  3954. }
  3955. b := dAtA[iNdEx]
  3956. iNdEx++
  3957. innerWire |= (uint64(b) & 0x7F) << shift
  3958. if b < 0x80 {
  3959. break
  3960. }
  3961. }
  3962. innerWireType := int(innerWire & 0x7)
  3963. if innerWireType == 4 {
  3964. break
  3965. }
  3966. next, err := skipGift(dAtA[start:])
  3967. if err != nil {
  3968. return 0, err
  3969. }
  3970. iNdEx = start + next
  3971. }
  3972. return iNdEx, nil
  3973. case 4:
  3974. return iNdEx, nil
  3975. case 5:
  3976. iNdEx += 4
  3977. return iNdEx, nil
  3978. default:
  3979. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3980. }
  3981. }
  3982. panic("unreachable")
  3983. }
  3984. var (
  3985. ErrInvalidLengthGift = fmt.Errorf("proto: negative length found during unmarshaling")
  3986. ErrIntOverflowGift = fmt.Errorf("proto: integer overflow")
  3987. )
  3988. func init() { proto.RegisterFile("gift.proto", fileDescriptor_gift_0ba80813e5e87937) }
  3989. var fileDescriptor_gift_0ba80813e5e87937 = []byte{
  3990. // 1620 bytes of a gzipped FileDescriptorProto
  3991. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6f, 0xdb, 0xc8,
  3992. 0x15, 0x5f, 0xc9, 0x8a, 0x2c, 0x3d, 0xc9, 0xb2, 0x3c, 0xb1, 0x13, 0x46, 0xc9, 0x9a, 0x29, 0xb3,
  3993. 0x9b, 0x35, 0xdc, 0xae, 0xb2, 0xeb, 0x2d, 0x0a, 0x74, 0x51, 0x14, 0x88, 0x92, 0x6d, 0x12, 0x20,
  3994. 0x31, 0x16, 0x63, 0xa3, 0x05, 0x82, 0x02, 0xc4, 0x50, 0x1c, 0x51, 0x83, 0x25, 0x45, 0x86, 0x1f,
  3995. 0xf2, 0xba, 0xf7, 0xfe, 0x35, 0xbd, 0x14, 0xbd, 0xf5, 0xda, 0xd3, 0x1e, 0x73, 0x6d, 0x0f, 0x44,
  3996. 0xeb, 0x23, 0x8f, 0xfe, 0x0b, 0x8a, 0x79, 0xc3, 0x2f, 0x5b, 0x6a, 0x9c, 0x4b, 0x2f, 0xa3, 0xf7,
  3997. 0x7e, 0xef, 0x63, 0xde, 0x7b, 0xf3, 0x1e, 0x67, 0x04, 0xe0, 0x88, 0x59, 0x3c, 0x0e, 0x42, 0x3f,
  3998. 0xf6, 0xc9, 0xb6, 0x2b, 0x96, 0x7c, 0xcc, 0x82, 0x20, 0xf4, 0x7d, 0x6f, 0xbc, 0xfc, 0x7a, 0xf4,
  3999. 0xa5, 0x23, 0xe2, 0x79, 0x62, 0x8d, 0xa7, 0xbe, 0xf7, 0xc4, 0xf1, 0x1d, 0xff, 0x09, 0xea, 0x59,
  4000. 0xc9, 0x0c, 0x39, 0x64, 0x90, 0x52, 0xf6, 0xc6, 0x16, 0xf4, 0x9e, 0x33, 0xe1, 0x9e, 0x4f, 0x98,
  4001. 0x43, 0xf9, 0x3b, 0xe3, 0x9f, 0x9b, 0xd0, 0xaf, 0xf8, 0x28, 0x20, 0x5f, 0x02, 0x58, 0xcc, 0x31,
  4002. 0xa3, 0x98, 0xc5, 0x49, 0xa4, 0x35, 0x1e, 0x36, 0x0e, 0x36, 0x26, 0x83, 0x2c, 0xd5, 0x6b, 0x28,
  4003. 0xed, 0x5a, 0xcc, 0x39, 0x41, 0x92, 0x3c, 0x85, 0x1d, 0x29, 0xe0, 0x3f, 0x06, 0x22, 0xe4, 0x85,
  4004. 0x55, 0x13, 0xad, 0xf6, 0xb2, 0x54, 0x5f, 0x15, 0xd2, 0x6d, 0x8b, 0x39, 0xdf, 0x21, 0x92, 0xbb,
  4005. 0xa0, 0x20, 0xfd, 0x99, 0xb1, 0xcf, 0xa2, 0x58, 0xdb, 0x78, 0xd8, 0x38, 0xe8, 0x1d, 0x3d, 0x1e,
  4006. 0x5f, 0xcb, 0x72, 0x5c, 0x8f, 0x71, 0x3c, 0x61, 0xce, 0xa9, 0xd4, 0x9e, 0x6c, 0x65, 0xa9, 0x5e,
  4007. 0x19, 0xd3, 0x8e, 0x95, 0x0b, 0xc8, 0x31, 0x48, 0xda, 0x74, 0x45, 0x14, 0x6b, 0xad, 0x87, 0x1b,
  4008. 0x07, 0xbd, 0xa3, 0xcf, 0x6f, 0x74, 0xf9, 0x5a, 0x44, 0xf1, 0xa4, 0x9f, 0xa5, 0x7a, 0x69, 0x4a,
  4009. 0x37, 0x2d, 0x05, 0x8f, 0xce, 0xa0, 0x53, 0x6c, 0x4a, 0xbe, 0x81, 0x3e, 0x6e, 0x77, 0xb5, 0x46,
  4010. 0xc3, 0x2c, 0xd5, 0xaf, 0xe0, 0xb4, 0x87, 0x5c, 0x9e, 0xe4, 0xaf, 0x60, 0x4b, 0x09, 0x3d, 0x1e,
  4011. 0x45, 0xcc, 0xe1, 0x58, 0xa3, 0xee, 0x64, 0x27, 0x4b, 0xf5, 0xab, 0x02, 0xaa, 0x9c, 0xbc, 0x51,
  4012. 0xdc, 0xe8, 0xef, 0x2d, 0xd8, 0xcc, 0x63, 0x23, 0x0f, 0xa0, 0x15, 0x9f, 0x07, 0x3c, 0xdf, 0xb0,
  4013. 0x93, 0xa5, 0x3a, 0xf2, 0x14, 0x57, 0xf2, 0x85, 0x4a, 0x79, 0xc1, 0xbc, 0xc2, 0x79, 0x99, 0x8b,
  4014. 0xc4, 0x30, 0x97, 0x63, 0xe6, 0x71, 0xf2, 0x3d, 0xb4, 0x23, 0x3f, 0x09, 0xa7, 0x3c, 0x2f, 0xf6,
  4015. 0x2f, 0x3e, 0xaa, 0x32, 0xe3, 0x13, 0xb4, 0x99, 0x40, 0x96, 0xea, 0xb9, 0x3d, 0xcd, 0x7f, 0xc9,
  4016. 0x5b, 0xe8, 0xca, 0x0e, 0xad, 0x97, 0x7b, 0xfc, 0x71, 0x4e, 0x5f, 0x88, 0x59, 0x8c, 0x75, 0xc7,
  4017. 0x93, 0x2c, 0x9d, 0xd0, 0x8e, 0x93, 0x0b, 0x46, 0x7f, 0x6d, 0x40, 0x5b, 0x6d, 0x2d, 0x33, 0xf4,
  4018. 0xb8, 0xcd, 0x5c, 0x53, 0xd8, 0x79, 0x0d, 0x30, 0xc3, 0x02, 0xa3, 0x9b, 0x48, 0xbd, 0xb2, 0x65,
  4019. 0x0f, 0x2b, 0xb0, 0x56, 0x0c, 0xec, 0xe1, 0x0a, 0xa5, 0x5d, 0xa4, 0xb1, 0x20, 0x3a, 0xdc, 0x72,
  4020. 0xf9, 0x92, 0xbb, 0x58, 0x8f, 0x8d, 0x49, 0x37, 0x4b, 0x75, 0x05, 0x50, 0xf5, 0x23, 0xfd, 0x25,
  4021. 0x11, 0x0f, 0x4d, 0xa5, 0xd5, 0xaa, 0x66, 0xa2, 0x42, 0x69, 0x57, 0xd2, 0xaf, 0x25, 0x39, 0xfa,
  4022. 0x73, 0x03, 0x3a, 0x45, 0x62, 0xe4, 0x33, 0xd8, 0xc4, 0xb4, 0xf2, 0x98, 0xbb, 0x93, 0x5e, 0x96,
  4023. 0xea, 0x05, 0x44, 0xdb, 0x92, 0x78, 0x65, 0xcb, 0xd4, 0x10, 0x5a, 0x24, 0x5e, 0x3e, 0x3d, 0x98,
  4024. 0x5a, 0x81, 0x51, 0x34, 0x38, 0x4e, 0x3c, 0x72, 0x08, 0xdd, 0x7c, 0x9c, 0x58, 0x9c, 0xc7, 0x8b,
  4025. 0xa5, 0x2b, 0x41, 0xda, 0x51, 0xe4, 0xd3, 0xd8, 0x98, 0xc3, 0x96, 0x0c, 0xe3, 0x99, 0xbf, 0x98,
  4026. 0x09, 0x39, 0xec, 0xe4, 0x09, 0x74, 0x02, 0x97, 0xc5, 0x33, 0x3f, 0xf4, 0xf2, 0x60, 0x6e, 0x5f,
  4027. 0xa6, 0xfa, 0xb6, 0xe4, 0xbf, 0x35, 0x0a, 0x89, 0x41, 0x4b, 0x25, 0xf2, 0x18, 0x6e, 0x59, 0x89,
  4028. 0x70, 0xed, 0x3c, 0xa6, 0xe1, 0x65, 0xaa, 0xf7, 0x95, 0x36, 0xc2, 0x06, 0x55, 0x62, 0xe3, 0x7d,
  4029. 0x1f, 0x06, 0xf5, 0xad, 0xa2, 0x80, 0x3c, 0x87, 0x16, 0xb6, 0x43, 0x03, 0xdb, 0x61, 0x75, 0xa0,
  4030. 0xaf, 0xaa, 0x8f, 0x15, 0xa9, 0x9a, 0x1a, 0x3b, 0x00, 0xd7, 0xd1, 0xdf, 0x7a, 0xd0, 0x56, 0x22,
  4031. 0x72, 0x07, 0x9a, 0xe5, 0xb9, 0xb7, 0xb3, 0x54, 0x6f, 0x0a, 0x9b, 0x36, 0x85, 0x2d, 0xa7, 0xa2,
  4032. 0x76, 0xcc, 0xe8, 0x00, 0x0f, 0x18, 0x57, 0x79, 0xb6, 0x41, 0x28, 0xf2, 0x5e, 0xcf, 0xcf, 0x16,
  4033. 0x01, 0xaa, 0x7e, 0xca, 0xa1, 0x6a, 0xad, 0x1d, 0xaa, 0x43, 0xe8, 0x4e, 0x7d, 0xb1, 0x30, 0x51,
  4034. 0xe5, 0x16, 0xee, 0x80, 0xe5, 0x2e, 0x41, 0xda, 0x91, 0xe4, 0x69, 0x6d, 0x00, 0xe5, 0x49, 0x69,
  4035. 0xed, 0xea, 0x0c, 0x0b, 0x0c, 0x07, 0x50, 0x66, 0x4d, 0x0c, 0x68, 0xf3, 0xd9, 0x8c, 0x4f, 0x63,
  4036. 0x6d, 0x13, 0xd5, 0x70, 0xa4, 0x14, 0x42, 0xf3, 0x5f, 0xf2, 0x15, 0xf4, 0xa6, 0x7e, 0xb8, 0xe0,
  4037. 0xa1, 0xe9, 0xb1, 0xf0, 0x07, 0xad, 0x83, 0x5b, 0x6f, 0x67, 0xa9, 0x5e, 0x87, 0x29, 0x28, 0xe6,
  4038. 0x0d, 0x0b, 0x7f, 0x20, 0x3f, 0x87, 0xae, 0x15, 0xfa, 0xcc, 0x9e, 0xca, 0xcf, 0x68, 0xb7, 0xea,
  4039. 0x8c, 0x12, 0xa4, 0x15, 0x29, 0xb3, 0xb6, 0x43, 0x76, 0xa6, 0x41, 0x95, 0xb5, 0xe4, 0x29, 0xae,
  4040. 0x32, 0xeb, 0x28, 0x66, 0xe7, 0x66, 0x2c, 0x3c, 0xae, 0xf5, 0x2a, 0x57, 0x25, 0x48, 0x3b, 0x92,
  4041. 0x3c, 0x15, 0x1e, 0x27, 0x2f, 0xe0, 0x36, 0x5b, 0x08, 0x8f, 0xc5, 0xc2, 0x5f, 0x98, 0xb3, 0x90,
  4042. 0x79, 0x1c, 0x9b, 0xb8, 0x8f, 0x56, 0x77, 0xb3, 0x54, 0x5f, 0x27, 0xa6, 0x3b, 0x25, 0xf8, 0x3b,
  4043. 0x89, 0xc9, 0xce, 0x96, 0x21, 0xf1, 0x68, 0xaa, 0x6d, 0x55, 0xe7, 0x28, 0x79, 0x8a, 0xab, 0x94,
  4044. 0x86, 0x89, 0xcb, 0xb5, 0x41, 0x25, 0x95, 0x3c, 0xc5, 0x55, 0x56, 0x34, 0x14, 0xce, 0x3c, 0x8e,
  4045. 0xb4, 0x6d, 0x94, 0x63, 0x45, 0x15, 0x42, 0xf3, 0x5f, 0xf2, 0x1d, 0x90, 0x20, 0x14, 0x4b, 0xe1,
  4046. 0x72, 0x87, 0x9b, 0x21, 0x7f, 0x97, 0x88, 0x90, 0xdb, 0xda, 0x10, 0xe3, 0xbc, 0x93, 0xa5, 0xfa,
  4047. 0x1a, 0x29, 0xdd, 0x29, 0x31, 0x9a, 0x43, 0xe4, 0x54, 0x76, 0x44, 0xb2, 0x88, 0x4d, 0x8f, 0x05,
  4048. 0xda, 0x0e, 0x36, 0xf7, 0xc1, 0xcd, 0xcd, 0x9d, 0x2c, 0xe2, 0x37, 0x2c, 0x28, 0x7a, 0x27, 0x37,
  4049. 0x97, 0xbd, 0xa3, 0x04, 0xb2, 0xe2, 0xc2, 0x73, 0x4c, 0x8b, 0x45, 0x62, 0xaa, 0x91, 0xaa, 0xcf,
  4050. 0x4a, 0x90, 0x76, 0x84, 0xe7, 0x4c, 0x24, 0x25, 0x5b, 0x43, 0xc2, 0xf6, 0xf9, 0x82, 0x79, 0x62,
  4051. 0xaa, 0xdd, 0xae, 0x5a, 0xa3, 0x06, 0x53, 0x10, 0x9e, 0xf3, 0x5c, 0xd1, 0xe4, 0x37, 0xb0, 0xad,
  4052. 0x4a, 0x5f, 0x56, 0x5d, 0xdb, 0x55, 0xe3, 0x9f, 0xc9, 0xf1, 0xbf, 0x2a, 0xa2, 0x03, 0x04, 0x9e,
  4053. 0x16, 0x3c, 0xb9, 0x07, 0x1b, 0x8e, 0x98, 0x69, 0x7b, 0x68, 0xb1, 0x99, 0xa5, 0xba, 0x64, 0xa9,
  4054. 0x5c, 0xe4, 0xa9, 0x9c, 0x71, 0x2b, 0xd0, 0xee, 0x54, 0xa7, 0x22, 0x79, 0x8a, 0x2b, 0x79, 0x02,
  4055. 0xbd, 0x59, 0xe2, 0xba, 0x66, 0x34, 0x35, 0xcf, 0xb8, 0xa5, 0xdd, 0xad, 0x02, 0xad, 0xc1, 0xb4,
  4056. 0x2b, 0x99, 0x93, 0xe9, 0x1f, 0xb8, 0x45, 0x9e, 0x03, 0x29, 0x24, 0x73, 0x3f, 0x14, 0x7f, 0xf2,
  4057. 0x17, 0x31, 0x73, 0x35, 0x0d, 0xed, 0xf0, 0x88, 0x56, 0xa5, 0x74, 0xa8, 0xcc, 0x5f, 0x96, 0x08,
  4058. 0xf9, 0x2d, 0x0c, 0x0b, 0xbd, 0x25, 0x0f, 0x63, 0x31, 0x65, 0xae, 0x76, 0x0f, 0x7d, 0xec, 0x66,
  4059. 0xa9, 0xbe, 0x22, 0xa3, 0x03, 0xe5, 0xe1, 0xf7, 0x39, 0x4f, 0x28, 0xdc, 0x5d, 0xdd, 0xc7, 0x8c,
  4060. 0x96, 0x0e, 0xd3, 0x46, 0xe8, 0xe6, 0x7e, 0x96, 0xea, 0xff, 0x4b, 0x85, 0xee, 0x5e, 0x8f, 0xe7,
  4061. 0x64, 0xe9, 0x30, 0xf2, 0x1a, 0xf6, 0xae, 0xef, 0xab, 0x3c, 0xde, 0x47, 0x8f, 0xf7, 0xb2, 0x54,
  4062. 0x5f, 0xaf, 0x40, 0xc9, 0xd5, 0xe8, 0xd0, 0xdb, 0x57, 0xd0, 0xb3, 0x12, 0xd7, 0xe5, 0xb1, 0x39,
  4063. 0xe7, 0xcc, 0xd6, 0x1e, 0x54, 0x85, 0xad, 0xc1, 0x14, 0x14, 0xf3, 0x92, 0x33, 0xbb, 0x66, 0x11,
  4064. 0x33, 0xe1, 0x6a, 0x9f, 0xae, 0x58, 0x48, 0xb8, 0xb0, 0x38, 0x65, 0xc2, 0x25, 0xbf, 0x86, 0x81,
  4065. 0x2b, 0x3c, 0x11, 0x9b, 0x62, 0x11, 0xf3, 0x70, 0xc9, 0x5c, 0x6d, 0x1f, 0x47, 0x85, 0x64, 0xa9,
  4066. 0x7e, 0x4d, 0x42, 0xb7, 0x90, 0x7f, 0x95, 0xb3, 0xa3, 0x67, 0xd0, 0x29, 0x3a, 0x5e, 0x36, 0x8f,
  4067. 0xfc, 0x1c, 0xa8, 0xcf, 0x36, 0x36, 0x8f, 0x1c, 0x7f, 0xb9, 0xe0, 0x97, 0x97, 0xff, 0x18, 0xd7,
  4068. 0x3f, 0xdc, 0x92, 0xa7, 0xb8, 0x1a, 0xff, 0x6a, 0x00, 0x39, 0xe6, 0xdc, 0x3e, 0x15, 0x01, 0xe5,
  4069. 0xd3, 0x39, 0x0b, 0x71, 0x06, 0xc9, 0x31, 0xb4, 0x66, 0xa1, 0xaf, 0x1c, 0x0e, 0x8e, 0xf6, 0x56,
  4070. 0x26, 0x4f, 0x0a, 0x27, 0x8f, 0x2e, 0x53, 0x5d, 0x57, 0xf7, 0x94, 0xe4, 0x8d, 0x87, 0x4b, 0xe6,
  4071. 0x0a, 0x9b, 0xc5, 0xfc, 0x5b, 0xa3, 0x18, 0x6d, 0x83, 0xa2, 0x1f, 0x79, 0x25, 0x2e, 0x38, 0xb7,
  4072. 0x5f, 0xf8, 0xe5, 0x25, 0x57, 0xbb, 0x12, 0x0b, 0x89, 0x41, 0x4b, 0x25, 0xf2, 0xac, 0x76, 0x87,
  4073. 0x6e, 0x60, 0xe4, 0x5f, 0x5c, 0xa6, 0xfa, 0xa3, 0x6b, 0x77, 0xe8, 0xda, 0x1d, 0x4b, 0x43, 0xe3,
  4074. 0x2f, 0x0d, 0xb8, 0xbd, 0x92, 0x5c, 0x14, 0xc8, 0x92, 0x44, 0x73, 0xff, 0x0c, 0xb3, 0xbb, 0xa5,
  4075. 0x4a, 0x22, 0x79, 0x8a, 0xab, 0xbc, 0x01, 0xad, 0x00, 0xa3, 0x6c, 0xaa, 0x1b, 0xd0, 0x0a, 0x68,
  4076. 0xd3, 0x0a, 0xc8, 0x01, 0x74, 0xac, 0xe0, 0x99, 0x9f, 0x04, 0xfe, 0x02, 0x43, 0x6a, 0xe6, 0x17,
  4077. 0x4f, 0x8e, 0xd1, 0x92, 0x22, 0xbf, 0x84, 0x7e, 0x98, 0xef, 0x87, 0x19, 0xb7, 0xaa, 0xa7, 0x6b,
  4078. 0x1d, 0xa7, 0x57, 0x38, 0xe3, 0x1f, 0x0d, 0xd8, 0xad, 0x45, 0xfa, 0x74, 0x8a, 0x9f, 0x89, 0xff,
  4079. 0xc3, 0x61, 0xbc, 0x85, 0x36, 0x43, 0xe7, 0x98, 0xe4, 0xe0, 0xe8, 0xfe, 0x8a, 0x47, 0xf9, 0xc8,
  4080. 0x52, 0xfb, 0x4f, 0x3e, 0xbf, 0x4c, 0xf5, 0x9f, 0x29, 0xbf, 0xca, 0x68, 0xbd, 0xe7, 0xdc, 0xa3,
  4081. 0x71, 0x17, 0xf6, 0xd6, 0xe4, 0x10, 0x05, 0x87, 0x8f, 0x55, 0x12, 0xa4, 0x03, 0xad, 0x63, 0x7f,
  4082. 0xc1, 0x87, 0x9f, 0x48, 0x4a, 0xe6, 0x3d, 0x6c, 0x10, 0x80, 0xf6, 0x89, 0x70, 0x97, 0x3c, 0x1c,
  4083. 0x36, 0x0f, 0x0f, 0xd5, 0x23, 0x50, 0x59, 0x92, 0x01, 0x80, 0xa2, 0x72, 0x9b, 0x3e, 0x74, 0x4e,
  4084. 0x62, 0x3f, 0xf8, 0x3e, 0x89, 0xe6, 0xc3, 0xc6, 0xd1, 0x45, 0x13, 0x5a, 0x78, 0xd5, 0xbf, 0x84,
  4085. 0xae, 0x2d, 0xdf, 0xbd, 0xa6, 0xc5, 0x1c, 0xf2, 0xe0, 0x03, 0x6f, 0xe2, 0x77, 0xa3, 0x4f, 0x3f,
  4086. 0xf8, 0x62, 0x26, 0x7f, 0x84, 0xed, 0x6b, 0x1d, 0x43, 0x1e, 0xad, 0x58, 0xac, 0x0e, 0xcc, 0xe8,
  4087. 0xb3, 0x9b, 0x95, 0xa2, 0x80, 0x58, 0xb0, 0xb3, 0x52, 0x1d, 0xb2, 0xfa, 0x97, 0x69, 0x5d, 0x17,
  4088. 0x8c, 0x1e, 0x7f, 0x8c, 0x5a, 0x14, 0x90, 0x63, 0xe8, 0xe1, 0x7b, 0x76, 0xaa, 0xde, 0x73, 0xfb,
  4089. 0x1f, 0xbc, 0x35, 0xdf, 0x8d, 0xf4, 0x1b, 0x6e, 0xd5, 0xc9, 0xee, 0x4f, 0xff, 0xd9, 0xff, 0xe4,
  4090. 0xa7, 0x8b, 0xfd, 0xc6, 0xfb, 0x8b, 0xfd, 0xc6, 0xbf, 0x2f, 0xf6, 0x1b, 0x6f, 0x9b, 0xcb, 0xaf,
  4091. 0xad, 0x36, 0xfe, 0xcd, 0xfd, 0xe6, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x56, 0x8e, 0x1a, 0xf0,
  4092. 0x34, 0x0f, 0x00, 0x00,
  4093. }