appBlink.pb.go 79 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: appBlink.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 io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. // 获取当前有效闪屏配置(客户端)
  19. type GetInfoReq struct {
  20. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  21. Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty" form:"build" validate:"required"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *GetInfoReq) Reset() { *m = GetInfoReq{} }
  27. func (m *GetInfoReq) String() string { return proto.CompactTextString(m) }
  28. func (*GetInfoReq) ProtoMessage() {}
  29. func (*GetInfoReq) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_appBlink_18a5454854971d18, []int{0}
  31. }
  32. func (m *GetInfoReq) XXX_Unmarshal(b []byte) error {
  33. return m.Unmarshal(b)
  34. }
  35. func (m *GetInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. if deterministic {
  37. return xxx_messageInfo_GetInfoReq.Marshal(b, m, deterministic)
  38. } else {
  39. b = b[:cap(b)]
  40. n, err := m.MarshalTo(b)
  41. if err != nil {
  42. return nil, err
  43. }
  44. return b[:n], nil
  45. }
  46. }
  47. func (dst *GetInfoReq) XXX_Merge(src proto.Message) {
  48. xxx_messageInfo_GetInfoReq.Merge(dst, src)
  49. }
  50. func (m *GetInfoReq) XXX_Size() int {
  51. return m.Size()
  52. }
  53. func (m *GetInfoReq) XXX_DiscardUnknown() {
  54. xxx_messageInfo_GetInfoReq.DiscardUnknown(m)
  55. }
  56. var xxx_messageInfo_GetInfoReq proto.InternalMessageInfo
  57. func (m *GetInfoReq) GetPlatform() string {
  58. if m != nil {
  59. return m.Platform
  60. }
  61. return ""
  62. }
  63. func (m *GetInfoReq) GetBuild() string {
  64. if m != nil {
  65. return m.Build
  66. }
  67. return ""
  68. }
  69. type GetInfoResp struct {
  70. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  71. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  72. JumpPath string `protobuf:"bytes,3,opt,name=jumpPath,proto3" json:"jumpPath"`
  73. JumpTime int64 `protobuf:"varint,4,opt,name=jumpTime,proto3" json:"jumpTime"`
  74. JumpPathType int64 `protobuf:"varint,5,opt,name=jumpPathType,proto3" json:"jumpPathType"`
  75. ImageUrl string `protobuf:"bytes,6,opt,name=imageUrl,proto3" json:"imageUrl"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *GetInfoResp) Reset() { *m = GetInfoResp{} }
  81. func (m *GetInfoResp) String() string { return proto.CompactTextString(m) }
  82. func (*GetInfoResp) ProtoMessage() {}
  83. func (*GetInfoResp) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_appBlink_18a5454854971d18, []int{1}
  85. }
  86. func (m *GetInfoResp) XXX_Unmarshal(b []byte) error {
  87. return m.Unmarshal(b)
  88. }
  89. func (m *GetInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. if deterministic {
  91. return xxx_messageInfo_GetInfoResp.Marshal(b, m, deterministic)
  92. } else {
  93. b = b[:cap(b)]
  94. n, err := m.MarshalTo(b)
  95. if err != nil {
  96. return nil, err
  97. }
  98. return b[:n], nil
  99. }
  100. }
  101. func (dst *GetInfoResp) XXX_Merge(src proto.Message) {
  102. xxx_messageInfo_GetInfoResp.Merge(dst, src)
  103. }
  104. func (m *GetInfoResp) XXX_Size() int {
  105. return m.Size()
  106. }
  107. func (m *GetInfoResp) XXX_DiscardUnknown() {
  108. xxx_messageInfo_GetInfoResp.DiscardUnknown(m)
  109. }
  110. var xxx_messageInfo_GetInfoResp proto.InternalMessageInfo
  111. func (m *GetInfoResp) GetId() int64 {
  112. if m != nil {
  113. return m.Id
  114. }
  115. return 0
  116. }
  117. func (m *GetInfoResp) GetTitle() string {
  118. if m != nil {
  119. return m.Title
  120. }
  121. return ""
  122. }
  123. func (m *GetInfoResp) GetJumpPath() string {
  124. if m != nil {
  125. return m.JumpPath
  126. }
  127. return ""
  128. }
  129. func (m *GetInfoResp) GetJumpTime() int64 {
  130. if m != nil {
  131. return m.JumpTime
  132. }
  133. return 0
  134. }
  135. func (m *GetInfoResp) GetJumpPathType() int64 {
  136. if m != nil {
  137. return m.JumpPathType
  138. }
  139. return 0
  140. }
  141. func (m *GetInfoResp) GetImageUrl() string {
  142. if m != nil {
  143. return m.ImageUrl
  144. }
  145. return ""
  146. }
  147. type GetRoomInfoResp struct {
  148. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  149. Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
  150. Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname"`
  151. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title"`
  152. Face string `protobuf:"bytes,5,opt,name=face,proto3" json:"face"`
  153. TryTime string `protobuf:"bytes,7,opt,name=try_time,json=tryTime,proto3" json:"try_time"`
  154. LiveStatus int64 `protobuf:"varint,8,opt,name=live_status,json=liveStatus,proto3" json:"live_status"`
  155. AreaV2Name string `protobuf:"bytes,9,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  156. AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
  157. MasterLevel int64 `protobuf:"varint,11,opt,name=master_level,json=masterLevel,proto3" json:"master_level"`
  158. MasterLevelColor int64 `protobuf:"varint,12,opt,name=master_level_color,json=masterLevelColor,proto3" json:"master_level_color"`
  159. MasterScore int64 `protobuf:"varint,13,opt,name=master_score,json=masterScore,proto3" json:"master_score"`
  160. MasterNextLevel int64 `protobuf:"varint,14,opt,name=master_next_level,json=masterNextLevel,proto3" json:"master_next_level"`
  161. MaxLevel int64 `protobuf:"varint,15,opt,name=max_level,json=maxLevel,proto3" json:"max_level"`
  162. FcNum int64 `protobuf:"varint,16,opt,name=fc_num,json=fcNum,proto3" json:"fc_num"`
  163. Rcost int64 `protobuf:"varint,17,opt,name=rcost,proto3" json:"rcost"`
  164. MedalStatus int64 `protobuf:"varint,18,opt,name=medal_status,json=medalStatus,proto3" json:"medal_status"`
  165. MedalName string `protobuf:"bytes,19,opt,name=medal_name,json=medalName,proto3" json:"medal_name"`
  166. MedalRenameStatus int64 `protobuf:"varint,20,opt,name=medal_rename_status,json=medalRenameStatus,proto3" json:"medal_rename_status"`
  167. IsMedal int64 `protobuf:"varint,21,opt,name=is_medal,json=isMedal,proto3" json:"is_medal"`
  168. FullText string `protobuf:"bytes,22,opt,name=full_text,json=fullText,proto3" json:"full_text"`
  169. IdentifyStatus int64 `protobuf:"varint,23,opt,name=identify_status,json=identifyStatus,proto3" json:"identify_status"`
  170. LockStatus int64 `protobuf:"varint,24,opt,name=lock_status,json=lockStatus,proto3" json:"lock_status"`
  171. LockTime string `protobuf:"bytes,25,opt,name=lock_time,json=lockTime,proto3" json:"lock_time"`
  172. OpenMedalLevel int64 `protobuf:"varint,26,opt,name=open_medal_level,json=openMedalLevel,proto3" json:"open_medal_level"`
  173. MasterNextLevelScore int64 `protobuf:"varint,27,opt,name=master_next_level_score,json=masterNextLevelScore,proto3" json:"master_next_level_score"`
  174. ParentId int64 `protobuf:"varint,28,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
  175. ParentName string `protobuf:"bytes,29,opt,name=parent_name,json=parentName,proto3" json:"parent_name"`
  176. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  177. XXX_unrecognized []byte `json:"-"`
  178. XXX_sizecache int32 `json:"-"`
  179. }
  180. func (m *GetRoomInfoResp) Reset() { *m = GetRoomInfoResp{} }
  181. func (m *GetRoomInfoResp) String() string { return proto.CompactTextString(m) }
  182. func (*GetRoomInfoResp) ProtoMessage() {}
  183. func (*GetRoomInfoResp) Descriptor() ([]byte, []int) {
  184. return fileDescriptor_appBlink_18a5454854971d18, []int{2}
  185. }
  186. func (m *GetRoomInfoResp) XXX_Unmarshal(b []byte) error {
  187. return m.Unmarshal(b)
  188. }
  189. func (m *GetRoomInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  190. if deterministic {
  191. return xxx_messageInfo_GetRoomInfoResp.Marshal(b, m, deterministic)
  192. } else {
  193. b = b[:cap(b)]
  194. n, err := m.MarshalTo(b)
  195. if err != nil {
  196. return nil, err
  197. }
  198. return b[:n], nil
  199. }
  200. }
  201. func (dst *GetRoomInfoResp) XXX_Merge(src proto.Message) {
  202. xxx_messageInfo_GetRoomInfoResp.Merge(dst, src)
  203. }
  204. func (m *GetRoomInfoResp) XXX_Size() int {
  205. return m.Size()
  206. }
  207. func (m *GetRoomInfoResp) XXX_DiscardUnknown() {
  208. xxx_messageInfo_GetRoomInfoResp.DiscardUnknown(m)
  209. }
  210. var xxx_messageInfo_GetRoomInfoResp proto.InternalMessageInfo
  211. func (m *GetRoomInfoResp) GetRoomId() int64 {
  212. if m != nil {
  213. return m.RoomId
  214. }
  215. return 0
  216. }
  217. func (m *GetRoomInfoResp) GetUid() int64 {
  218. if m != nil {
  219. return m.Uid
  220. }
  221. return 0
  222. }
  223. func (m *GetRoomInfoResp) GetUname() string {
  224. if m != nil {
  225. return m.Uname
  226. }
  227. return ""
  228. }
  229. func (m *GetRoomInfoResp) GetTitle() string {
  230. if m != nil {
  231. return m.Title
  232. }
  233. return ""
  234. }
  235. func (m *GetRoomInfoResp) GetFace() string {
  236. if m != nil {
  237. return m.Face
  238. }
  239. return ""
  240. }
  241. func (m *GetRoomInfoResp) GetTryTime() string {
  242. if m != nil {
  243. return m.TryTime
  244. }
  245. return ""
  246. }
  247. func (m *GetRoomInfoResp) GetLiveStatus() int64 {
  248. if m != nil {
  249. return m.LiveStatus
  250. }
  251. return 0
  252. }
  253. func (m *GetRoomInfoResp) GetAreaV2Name() string {
  254. if m != nil {
  255. return m.AreaV2Name
  256. }
  257. return ""
  258. }
  259. func (m *GetRoomInfoResp) GetAreaV2Id() int64 {
  260. if m != nil {
  261. return m.AreaV2Id
  262. }
  263. return 0
  264. }
  265. func (m *GetRoomInfoResp) GetMasterLevel() int64 {
  266. if m != nil {
  267. return m.MasterLevel
  268. }
  269. return 0
  270. }
  271. func (m *GetRoomInfoResp) GetMasterLevelColor() int64 {
  272. if m != nil {
  273. return m.MasterLevelColor
  274. }
  275. return 0
  276. }
  277. func (m *GetRoomInfoResp) GetMasterScore() int64 {
  278. if m != nil {
  279. return m.MasterScore
  280. }
  281. return 0
  282. }
  283. func (m *GetRoomInfoResp) GetMasterNextLevel() int64 {
  284. if m != nil {
  285. return m.MasterNextLevel
  286. }
  287. return 0
  288. }
  289. func (m *GetRoomInfoResp) GetMaxLevel() int64 {
  290. if m != nil {
  291. return m.MaxLevel
  292. }
  293. return 0
  294. }
  295. func (m *GetRoomInfoResp) GetFcNum() int64 {
  296. if m != nil {
  297. return m.FcNum
  298. }
  299. return 0
  300. }
  301. func (m *GetRoomInfoResp) GetRcost() int64 {
  302. if m != nil {
  303. return m.Rcost
  304. }
  305. return 0
  306. }
  307. func (m *GetRoomInfoResp) GetMedalStatus() int64 {
  308. if m != nil {
  309. return m.MedalStatus
  310. }
  311. return 0
  312. }
  313. func (m *GetRoomInfoResp) GetMedalName() string {
  314. if m != nil {
  315. return m.MedalName
  316. }
  317. return ""
  318. }
  319. func (m *GetRoomInfoResp) GetMedalRenameStatus() int64 {
  320. if m != nil {
  321. return m.MedalRenameStatus
  322. }
  323. return 0
  324. }
  325. func (m *GetRoomInfoResp) GetIsMedal() int64 {
  326. if m != nil {
  327. return m.IsMedal
  328. }
  329. return 0
  330. }
  331. func (m *GetRoomInfoResp) GetFullText() string {
  332. if m != nil {
  333. return m.FullText
  334. }
  335. return ""
  336. }
  337. func (m *GetRoomInfoResp) GetIdentifyStatus() int64 {
  338. if m != nil {
  339. return m.IdentifyStatus
  340. }
  341. return 0
  342. }
  343. func (m *GetRoomInfoResp) GetLockStatus() int64 {
  344. if m != nil {
  345. return m.LockStatus
  346. }
  347. return 0
  348. }
  349. func (m *GetRoomInfoResp) GetLockTime() string {
  350. if m != nil {
  351. return m.LockTime
  352. }
  353. return ""
  354. }
  355. func (m *GetRoomInfoResp) GetOpenMedalLevel() int64 {
  356. if m != nil {
  357. return m.OpenMedalLevel
  358. }
  359. return 0
  360. }
  361. func (m *GetRoomInfoResp) GetMasterNextLevelScore() int64 {
  362. if m != nil {
  363. return m.MasterNextLevelScore
  364. }
  365. return 0
  366. }
  367. func (m *GetRoomInfoResp) GetParentId() int64 {
  368. if m != nil {
  369. return m.ParentId
  370. }
  371. return 0
  372. }
  373. func (m *GetRoomInfoResp) GetParentName() string {
  374. if m != nil {
  375. return m.ParentName
  376. }
  377. return ""
  378. }
  379. type GetRoomInfoReq struct {
  380. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  381. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  382. XXX_unrecognized []byte `json:"-"`
  383. XXX_sizecache int32 `json:"-"`
  384. }
  385. func (m *GetRoomInfoReq) Reset() { *m = GetRoomInfoReq{} }
  386. func (m *GetRoomInfoReq) String() string { return proto.CompactTextString(m) }
  387. func (*GetRoomInfoReq) ProtoMessage() {}
  388. func (*GetRoomInfoReq) Descriptor() ([]byte, []int) {
  389. return fileDescriptor_appBlink_18a5454854971d18, []int{3}
  390. }
  391. func (m *GetRoomInfoReq) XXX_Unmarshal(b []byte) error {
  392. return m.Unmarshal(b)
  393. }
  394. func (m *GetRoomInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  395. if deterministic {
  396. return xxx_messageInfo_GetRoomInfoReq.Marshal(b, m, deterministic)
  397. } else {
  398. b = b[:cap(b)]
  399. n, err := m.MarshalTo(b)
  400. if err != nil {
  401. return nil, err
  402. }
  403. return b[:n], nil
  404. }
  405. }
  406. func (dst *GetRoomInfoReq) XXX_Merge(src proto.Message) {
  407. xxx_messageInfo_GetRoomInfoReq.Merge(dst, src)
  408. }
  409. func (m *GetRoomInfoReq) XXX_Size() int {
  410. return m.Size()
  411. }
  412. func (m *GetRoomInfoReq) XXX_DiscardUnknown() {
  413. xxx_messageInfo_GetRoomInfoReq.DiscardUnknown(m)
  414. }
  415. var xxx_messageInfo_GetRoomInfoReq proto.InternalMessageInfo
  416. func (m *GetRoomInfoReq) GetPlatform() string {
  417. if m != nil {
  418. return m.Platform
  419. }
  420. return ""
  421. }
  422. type CreateResp struct {
  423. RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  424. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  425. XXX_unrecognized []byte `json:"-"`
  426. XXX_sizecache int32 `json:"-"`
  427. }
  428. func (m *CreateResp) Reset() { *m = CreateResp{} }
  429. func (m *CreateResp) String() string { return proto.CompactTextString(m) }
  430. func (*CreateResp) ProtoMessage() {}
  431. func (*CreateResp) Descriptor() ([]byte, []int) {
  432. return fileDescriptor_appBlink_18a5454854971d18, []int{4}
  433. }
  434. func (m *CreateResp) XXX_Unmarshal(b []byte) error {
  435. return m.Unmarshal(b)
  436. }
  437. func (m *CreateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  438. if deterministic {
  439. return xxx_messageInfo_CreateResp.Marshal(b, m, deterministic)
  440. } else {
  441. b = b[:cap(b)]
  442. n, err := m.MarshalTo(b)
  443. if err != nil {
  444. return nil, err
  445. }
  446. return b[:n], nil
  447. }
  448. }
  449. func (dst *CreateResp) XXX_Merge(src proto.Message) {
  450. xxx_messageInfo_CreateResp.Merge(dst, src)
  451. }
  452. func (m *CreateResp) XXX_Size() int {
  453. return m.Size()
  454. }
  455. func (m *CreateResp) XXX_DiscardUnknown() {
  456. xxx_messageInfo_CreateResp.DiscardUnknown(m)
  457. }
  458. var xxx_messageInfo_CreateResp proto.InternalMessageInfo
  459. func (m *CreateResp) GetRoomId() string {
  460. if m != nil {
  461. return m.RoomId
  462. }
  463. return ""
  464. }
  465. type CreateReq struct {
  466. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  467. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  468. XXX_unrecognized []byte `json:"-"`
  469. XXX_sizecache int32 `json:"-"`
  470. }
  471. func (m *CreateReq) Reset() { *m = CreateReq{} }
  472. func (m *CreateReq) String() string { return proto.CompactTextString(m) }
  473. func (*CreateReq) ProtoMessage() {}
  474. func (*CreateReq) Descriptor() ([]byte, []int) {
  475. return fileDescriptor_appBlink_18a5454854971d18, []int{5}
  476. }
  477. func (m *CreateReq) XXX_Unmarshal(b []byte) error {
  478. return m.Unmarshal(b)
  479. }
  480. func (m *CreateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  481. if deterministic {
  482. return xxx_messageInfo_CreateReq.Marshal(b, m, deterministic)
  483. } else {
  484. b = b[:cap(b)]
  485. n, err := m.MarshalTo(b)
  486. if err != nil {
  487. return nil, err
  488. }
  489. return b[:n], nil
  490. }
  491. }
  492. func (dst *CreateReq) XXX_Merge(src proto.Message) {
  493. xxx_messageInfo_CreateReq.Merge(dst, src)
  494. }
  495. func (m *CreateReq) XXX_Size() int {
  496. return m.Size()
  497. }
  498. func (m *CreateReq) XXX_DiscardUnknown() {
  499. xxx_messageInfo_CreateReq.DiscardUnknown(m)
  500. }
  501. var xxx_messageInfo_CreateReq proto.InternalMessageInfo
  502. func (m *CreateReq) GetPlatform() string {
  503. if m != nil {
  504. return m.Platform
  505. }
  506. return ""
  507. }
  508. type GetTopicListReq struct {
  509. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  510. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  511. XXX_unrecognized []byte `json:"-"`
  512. XXX_sizecache int32 `json:"-"`
  513. }
  514. func (m *GetTopicListReq) Reset() { *m = GetTopicListReq{} }
  515. func (m *GetTopicListReq) String() string { return proto.CompactTextString(m) }
  516. func (*GetTopicListReq) ProtoMessage() {}
  517. func (*GetTopicListReq) Descriptor() ([]byte, []int) {
  518. return fileDescriptor_appBlink_18a5454854971d18, []int{6}
  519. }
  520. func (m *GetTopicListReq) XXX_Unmarshal(b []byte) error {
  521. return m.Unmarshal(b)
  522. }
  523. func (m *GetTopicListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  524. if deterministic {
  525. return xxx_messageInfo_GetTopicListReq.Marshal(b, m, deterministic)
  526. } else {
  527. b = b[:cap(b)]
  528. n, err := m.MarshalTo(b)
  529. if err != nil {
  530. return nil, err
  531. }
  532. return b[:n], nil
  533. }
  534. }
  535. func (dst *GetTopicListReq) XXX_Merge(src proto.Message) {
  536. xxx_messageInfo_GetTopicListReq.Merge(dst, src)
  537. }
  538. func (m *GetTopicListReq) XXX_Size() int {
  539. return m.Size()
  540. }
  541. func (m *GetTopicListReq) XXX_DiscardUnknown() {
  542. xxx_messageInfo_GetTopicListReq.DiscardUnknown(m)
  543. }
  544. var xxx_messageInfo_GetTopicListReq proto.InternalMessageInfo
  545. func (m *GetTopicListReq) GetPlatform() string {
  546. if m != nil {
  547. return m.Platform
  548. }
  549. return ""
  550. }
  551. type GetTopicListResp struct {
  552. TopicList []string `protobuf:"bytes,1,rep,name=topic_list,json=topicList" json:"topic_list"`
  553. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  554. XXX_unrecognized []byte `json:"-"`
  555. XXX_sizecache int32 `json:"-"`
  556. }
  557. func (m *GetTopicListResp) Reset() { *m = GetTopicListResp{} }
  558. func (m *GetTopicListResp) String() string { return proto.CompactTextString(m) }
  559. func (*GetTopicListResp) ProtoMessage() {}
  560. func (*GetTopicListResp) Descriptor() ([]byte, []int) {
  561. return fileDescriptor_appBlink_18a5454854971d18, []int{7}
  562. }
  563. func (m *GetTopicListResp) XXX_Unmarshal(b []byte) error {
  564. return m.Unmarshal(b)
  565. }
  566. func (m *GetTopicListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  567. if deterministic {
  568. return xxx_messageInfo_GetTopicListResp.Marshal(b, m, deterministic)
  569. } else {
  570. b = b[:cap(b)]
  571. n, err := m.MarshalTo(b)
  572. if err != nil {
  573. return nil, err
  574. }
  575. return b[:n], nil
  576. }
  577. }
  578. func (dst *GetTopicListResp) XXX_Merge(src proto.Message) {
  579. xxx_messageInfo_GetTopicListResp.Merge(dst, src)
  580. }
  581. func (m *GetTopicListResp) XXX_Size() int {
  582. return m.Size()
  583. }
  584. func (m *GetTopicListResp) XXX_DiscardUnknown() {
  585. xxx_messageInfo_GetTopicListResp.DiscardUnknown(m)
  586. }
  587. var xxx_messageInfo_GetTopicListResp proto.InternalMessageInfo
  588. func (m *GetTopicListResp) GetTopicList() []string {
  589. if m != nil {
  590. return m.TopicList
  591. }
  592. return nil
  593. }
  594. type CheckTopicReq struct {
  595. Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty" form:"platform" validate:"required"`
  596. Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty" form:"topic" validate:"required"`
  597. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  598. XXX_unrecognized []byte `json:"-"`
  599. XXX_sizecache int32 `json:"-"`
  600. }
  601. func (m *CheckTopicReq) Reset() { *m = CheckTopicReq{} }
  602. func (m *CheckTopicReq) String() string { return proto.CompactTextString(m) }
  603. func (*CheckTopicReq) ProtoMessage() {}
  604. func (*CheckTopicReq) Descriptor() ([]byte, []int) {
  605. return fileDescriptor_appBlink_18a5454854971d18, []int{8}
  606. }
  607. func (m *CheckTopicReq) XXX_Unmarshal(b []byte) error {
  608. return m.Unmarshal(b)
  609. }
  610. func (m *CheckTopicReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  611. if deterministic {
  612. return xxx_messageInfo_CheckTopicReq.Marshal(b, m, deterministic)
  613. } else {
  614. b = b[:cap(b)]
  615. n, err := m.MarshalTo(b)
  616. if err != nil {
  617. return nil, err
  618. }
  619. return b[:n], nil
  620. }
  621. }
  622. func (dst *CheckTopicReq) XXX_Merge(src proto.Message) {
  623. xxx_messageInfo_CheckTopicReq.Merge(dst, src)
  624. }
  625. func (m *CheckTopicReq) XXX_Size() int {
  626. return m.Size()
  627. }
  628. func (m *CheckTopicReq) XXX_DiscardUnknown() {
  629. xxx_messageInfo_CheckTopicReq.DiscardUnknown(m)
  630. }
  631. var xxx_messageInfo_CheckTopicReq proto.InternalMessageInfo
  632. func (m *CheckTopicReq) GetPlatform() string {
  633. if m != nil {
  634. return m.Platform
  635. }
  636. return ""
  637. }
  638. func (m *CheckTopicReq) GetTopic() string {
  639. if m != nil {
  640. return m.Topic
  641. }
  642. return ""
  643. }
  644. type CheckTopicResp struct {
  645. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  646. XXX_unrecognized []byte `json:"-"`
  647. XXX_sizecache int32 `json:"-"`
  648. }
  649. func (m *CheckTopicResp) Reset() { *m = CheckTopicResp{} }
  650. func (m *CheckTopicResp) String() string { return proto.CompactTextString(m) }
  651. func (*CheckTopicResp) ProtoMessage() {}
  652. func (*CheckTopicResp) Descriptor() ([]byte, []int) {
  653. return fileDescriptor_appBlink_18a5454854971d18, []int{9}
  654. }
  655. func (m *CheckTopicResp) XXX_Unmarshal(b []byte) error {
  656. return m.Unmarshal(b)
  657. }
  658. func (m *CheckTopicResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  659. if deterministic {
  660. return xxx_messageInfo_CheckTopicResp.Marshal(b, m, deterministic)
  661. } else {
  662. b = b[:cap(b)]
  663. n, err := m.MarshalTo(b)
  664. if err != nil {
  665. return nil, err
  666. }
  667. return b[:n], nil
  668. }
  669. }
  670. func (dst *CheckTopicResp) XXX_Merge(src proto.Message) {
  671. xxx_messageInfo_CheckTopicResp.Merge(dst, src)
  672. }
  673. func (m *CheckTopicResp) XXX_Size() int {
  674. return m.Size()
  675. }
  676. func (m *CheckTopicResp) XXX_DiscardUnknown() {
  677. xxx_messageInfo_CheckTopicResp.DiscardUnknown(m)
  678. }
  679. var xxx_messageInfo_CheckTopicResp proto.InternalMessageInfo
  680. func init() {
  681. proto.RegisterType((*GetInfoReq)(nil), "live.appblink.v1.GetInfoReq")
  682. proto.RegisterType((*GetInfoResp)(nil), "live.appblink.v1.GetInfoResp")
  683. proto.RegisterType((*GetRoomInfoResp)(nil), "live.appblink.v1.GetRoomInfoResp")
  684. proto.RegisterType((*GetRoomInfoReq)(nil), "live.appblink.v1.GetRoomInfoReq")
  685. proto.RegisterType((*CreateResp)(nil), "live.appblink.v1.CreateResp")
  686. proto.RegisterType((*CreateReq)(nil), "live.appblink.v1.CreateReq")
  687. proto.RegisterType((*GetTopicListReq)(nil), "live.appblink.v1.GetTopicListReq")
  688. proto.RegisterType((*GetTopicListResp)(nil), "live.appblink.v1.GetTopicListResp")
  689. proto.RegisterType((*CheckTopicReq)(nil), "live.appblink.v1.CheckTopicReq")
  690. proto.RegisterType((*CheckTopicResp)(nil), "live.appblink.v1.CheckTopicResp")
  691. }
  692. func (m *GetInfoReq) Marshal() (dAtA []byte, err error) {
  693. size := m.Size()
  694. dAtA = make([]byte, size)
  695. n, err := m.MarshalTo(dAtA)
  696. if err != nil {
  697. return nil, err
  698. }
  699. return dAtA[:n], nil
  700. }
  701. func (m *GetInfoReq) MarshalTo(dAtA []byte) (int, error) {
  702. var i int
  703. _ = i
  704. var l int
  705. _ = l
  706. if len(m.Platform) > 0 {
  707. dAtA[i] = 0xa
  708. i++
  709. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Platform)))
  710. i += copy(dAtA[i:], m.Platform)
  711. }
  712. if len(m.Build) > 0 {
  713. dAtA[i] = 0x12
  714. i++
  715. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Build)))
  716. i += copy(dAtA[i:], m.Build)
  717. }
  718. if m.XXX_unrecognized != nil {
  719. i += copy(dAtA[i:], m.XXX_unrecognized)
  720. }
  721. return i, nil
  722. }
  723. func (m *GetInfoResp) Marshal() (dAtA []byte, err error) {
  724. size := m.Size()
  725. dAtA = make([]byte, size)
  726. n, err := m.MarshalTo(dAtA)
  727. if err != nil {
  728. return nil, err
  729. }
  730. return dAtA[:n], nil
  731. }
  732. func (m *GetInfoResp) MarshalTo(dAtA []byte) (int, error) {
  733. var i int
  734. _ = i
  735. var l int
  736. _ = l
  737. if m.Id != 0 {
  738. dAtA[i] = 0x8
  739. i++
  740. i = encodeVarintAppBlink(dAtA, i, uint64(m.Id))
  741. }
  742. if len(m.Title) > 0 {
  743. dAtA[i] = 0x12
  744. i++
  745. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Title)))
  746. i += copy(dAtA[i:], m.Title)
  747. }
  748. if len(m.JumpPath) > 0 {
  749. dAtA[i] = 0x1a
  750. i++
  751. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.JumpPath)))
  752. i += copy(dAtA[i:], m.JumpPath)
  753. }
  754. if m.JumpTime != 0 {
  755. dAtA[i] = 0x20
  756. i++
  757. i = encodeVarintAppBlink(dAtA, i, uint64(m.JumpTime))
  758. }
  759. if m.JumpPathType != 0 {
  760. dAtA[i] = 0x28
  761. i++
  762. i = encodeVarintAppBlink(dAtA, i, uint64(m.JumpPathType))
  763. }
  764. if len(m.ImageUrl) > 0 {
  765. dAtA[i] = 0x32
  766. i++
  767. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.ImageUrl)))
  768. i += copy(dAtA[i:], m.ImageUrl)
  769. }
  770. if m.XXX_unrecognized != nil {
  771. i += copy(dAtA[i:], m.XXX_unrecognized)
  772. }
  773. return i, nil
  774. }
  775. func (m *GetRoomInfoResp) Marshal() (dAtA []byte, err error) {
  776. size := m.Size()
  777. dAtA = make([]byte, size)
  778. n, err := m.MarshalTo(dAtA)
  779. if err != nil {
  780. return nil, err
  781. }
  782. return dAtA[:n], nil
  783. }
  784. func (m *GetRoomInfoResp) MarshalTo(dAtA []byte) (int, error) {
  785. var i int
  786. _ = i
  787. var l int
  788. _ = l
  789. if m.RoomId != 0 {
  790. dAtA[i] = 0x8
  791. i++
  792. i = encodeVarintAppBlink(dAtA, i, uint64(m.RoomId))
  793. }
  794. if m.Uid != 0 {
  795. dAtA[i] = 0x10
  796. i++
  797. i = encodeVarintAppBlink(dAtA, i, uint64(m.Uid))
  798. }
  799. if len(m.Uname) > 0 {
  800. dAtA[i] = 0x1a
  801. i++
  802. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Uname)))
  803. i += copy(dAtA[i:], m.Uname)
  804. }
  805. if len(m.Title) > 0 {
  806. dAtA[i] = 0x22
  807. i++
  808. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Title)))
  809. i += copy(dAtA[i:], m.Title)
  810. }
  811. if len(m.Face) > 0 {
  812. dAtA[i] = 0x2a
  813. i++
  814. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Face)))
  815. i += copy(dAtA[i:], m.Face)
  816. }
  817. if len(m.TryTime) > 0 {
  818. dAtA[i] = 0x3a
  819. i++
  820. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.TryTime)))
  821. i += copy(dAtA[i:], m.TryTime)
  822. }
  823. if m.LiveStatus != 0 {
  824. dAtA[i] = 0x40
  825. i++
  826. i = encodeVarintAppBlink(dAtA, i, uint64(m.LiveStatus))
  827. }
  828. if len(m.AreaV2Name) > 0 {
  829. dAtA[i] = 0x4a
  830. i++
  831. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.AreaV2Name)))
  832. i += copy(dAtA[i:], m.AreaV2Name)
  833. }
  834. if m.AreaV2Id != 0 {
  835. dAtA[i] = 0x50
  836. i++
  837. i = encodeVarintAppBlink(dAtA, i, uint64(m.AreaV2Id))
  838. }
  839. if m.MasterLevel != 0 {
  840. dAtA[i] = 0x58
  841. i++
  842. i = encodeVarintAppBlink(dAtA, i, uint64(m.MasterLevel))
  843. }
  844. if m.MasterLevelColor != 0 {
  845. dAtA[i] = 0x60
  846. i++
  847. i = encodeVarintAppBlink(dAtA, i, uint64(m.MasterLevelColor))
  848. }
  849. if m.MasterScore != 0 {
  850. dAtA[i] = 0x68
  851. i++
  852. i = encodeVarintAppBlink(dAtA, i, uint64(m.MasterScore))
  853. }
  854. if m.MasterNextLevel != 0 {
  855. dAtA[i] = 0x70
  856. i++
  857. i = encodeVarintAppBlink(dAtA, i, uint64(m.MasterNextLevel))
  858. }
  859. if m.MaxLevel != 0 {
  860. dAtA[i] = 0x78
  861. i++
  862. i = encodeVarintAppBlink(dAtA, i, uint64(m.MaxLevel))
  863. }
  864. if m.FcNum != 0 {
  865. dAtA[i] = 0x80
  866. i++
  867. dAtA[i] = 0x1
  868. i++
  869. i = encodeVarintAppBlink(dAtA, i, uint64(m.FcNum))
  870. }
  871. if m.Rcost != 0 {
  872. dAtA[i] = 0x88
  873. i++
  874. dAtA[i] = 0x1
  875. i++
  876. i = encodeVarintAppBlink(dAtA, i, uint64(m.Rcost))
  877. }
  878. if m.MedalStatus != 0 {
  879. dAtA[i] = 0x90
  880. i++
  881. dAtA[i] = 0x1
  882. i++
  883. i = encodeVarintAppBlink(dAtA, i, uint64(m.MedalStatus))
  884. }
  885. if len(m.MedalName) > 0 {
  886. dAtA[i] = 0x9a
  887. i++
  888. dAtA[i] = 0x1
  889. i++
  890. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.MedalName)))
  891. i += copy(dAtA[i:], m.MedalName)
  892. }
  893. if m.MedalRenameStatus != 0 {
  894. dAtA[i] = 0xa0
  895. i++
  896. dAtA[i] = 0x1
  897. i++
  898. i = encodeVarintAppBlink(dAtA, i, uint64(m.MedalRenameStatus))
  899. }
  900. if m.IsMedal != 0 {
  901. dAtA[i] = 0xa8
  902. i++
  903. dAtA[i] = 0x1
  904. i++
  905. i = encodeVarintAppBlink(dAtA, i, uint64(m.IsMedal))
  906. }
  907. if len(m.FullText) > 0 {
  908. dAtA[i] = 0xb2
  909. i++
  910. dAtA[i] = 0x1
  911. i++
  912. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.FullText)))
  913. i += copy(dAtA[i:], m.FullText)
  914. }
  915. if m.IdentifyStatus != 0 {
  916. dAtA[i] = 0xb8
  917. i++
  918. dAtA[i] = 0x1
  919. i++
  920. i = encodeVarintAppBlink(dAtA, i, uint64(m.IdentifyStatus))
  921. }
  922. if m.LockStatus != 0 {
  923. dAtA[i] = 0xc0
  924. i++
  925. dAtA[i] = 0x1
  926. i++
  927. i = encodeVarintAppBlink(dAtA, i, uint64(m.LockStatus))
  928. }
  929. if len(m.LockTime) > 0 {
  930. dAtA[i] = 0xca
  931. i++
  932. dAtA[i] = 0x1
  933. i++
  934. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.LockTime)))
  935. i += copy(dAtA[i:], m.LockTime)
  936. }
  937. if m.OpenMedalLevel != 0 {
  938. dAtA[i] = 0xd0
  939. i++
  940. dAtA[i] = 0x1
  941. i++
  942. i = encodeVarintAppBlink(dAtA, i, uint64(m.OpenMedalLevel))
  943. }
  944. if m.MasterNextLevelScore != 0 {
  945. dAtA[i] = 0xd8
  946. i++
  947. dAtA[i] = 0x1
  948. i++
  949. i = encodeVarintAppBlink(dAtA, i, uint64(m.MasterNextLevelScore))
  950. }
  951. if m.ParentId != 0 {
  952. dAtA[i] = 0xe0
  953. i++
  954. dAtA[i] = 0x1
  955. i++
  956. i = encodeVarintAppBlink(dAtA, i, uint64(m.ParentId))
  957. }
  958. if len(m.ParentName) > 0 {
  959. dAtA[i] = 0xea
  960. i++
  961. dAtA[i] = 0x1
  962. i++
  963. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.ParentName)))
  964. i += copy(dAtA[i:], m.ParentName)
  965. }
  966. if m.XXX_unrecognized != nil {
  967. i += copy(dAtA[i:], m.XXX_unrecognized)
  968. }
  969. return i, nil
  970. }
  971. func (m *GetRoomInfoReq) Marshal() (dAtA []byte, err error) {
  972. size := m.Size()
  973. dAtA = make([]byte, size)
  974. n, err := m.MarshalTo(dAtA)
  975. if err != nil {
  976. return nil, err
  977. }
  978. return dAtA[:n], nil
  979. }
  980. func (m *GetRoomInfoReq) MarshalTo(dAtA []byte) (int, error) {
  981. var i int
  982. _ = i
  983. var l int
  984. _ = l
  985. if len(m.Platform) > 0 {
  986. dAtA[i] = 0xa
  987. i++
  988. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Platform)))
  989. i += copy(dAtA[i:], m.Platform)
  990. }
  991. if m.XXX_unrecognized != nil {
  992. i += copy(dAtA[i:], m.XXX_unrecognized)
  993. }
  994. return i, nil
  995. }
  996. func (m *CreateResp) Marshal() (dAtA []byte, err error) {
  997. size := m.Size()
  998. dAtA = make([]byte, size)
  999. n, err := m.MarshalTo(dAtA)
  1000. if err != nil {
  1001. return nil, err
  1002. }
  1003. return dAtA[:n], nil
  1004. }
  1005. func (m *CreateResp) MarshalTo(dAtA []byte) (int, error) {
  1006. var i int
  1007. _ = i
  1008. var l int
  1009. _ = l
  1010. if len(m.RoomId) > 0 {
  1011. dAtA[i] = 0xa
  1012. i++
  1013. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.RoomId)))
  1014. i += copy(dAtA[i:], m.RoomId)
  1015. }
  1016. if m.XXX_unrecognized != nil {
  1017. i += copy(dAtA[i:], m.XXX_unrecognized)
  1018. }
  1019. return i, nil
  1020. }
  1021. func (m *CreateReq) Marshal() (dAtA []byte, err error) {
  1022. size := m.Size()
  1023. dAtA = make([]byte, size)
  1024. n, err := m.MarshalTo(dAtA)
  1025. if err != nil {
  1026. return nil, err
  1027. }
  1028. return dAtA[:n], nil
  1029. }
  1030. func (m *CreateReq) MarshalTo(dAtA []byte) (int, error) {
  1031. var i int
  1032. _ = i
  1033. var l int
  1034. _ = l
  1035. if len(m.Platform) > 0 {
  1036. dAtA[i] = 0xa
  1037. i++
  1038. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Platform)))
  1039. i += copy(dAtA[i:], m.Platform)
  1040. }
  1041. if m.XXX_unrecognized != nil {
  1042. i += copy(dAtA[i:], m.XXX_unrecognized)
  1043. }
  1044. return i, nil
  1045. }
  1046. func (m *GetTopicListReq) Marshal() (dAtA []byte, err error) {
  1047. size := m.Size()
  1048. dAtA = make([]byte, size)
  1049. n, err := m.MarshalTo(dAtA)
  1050. if err != nil {
  1051. return nil, err
  1052. }
  1053. return dAtA[:n], nil
  1054. }
  1055. func (m *GetTopicListReq) MarshalTo(dAtA []byte) (int, error) {
  1056. var i int
  1057. _ = i
  1058. var l int
  1059. _ = l
  1060. if len(m.Platform) > 0 {
  1061. dAtA[i] = 0xa
  1062. i++
  1063. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Platform)))
  1064. i += copy(dAtA[i:], m.Platform)
  1065. }
  1066. if m.XXX_unrecognized != nil {
  1067. i += copy(dAtA[i:], m.XXX_unrecognized)
  1068. }
  1069. return i, nil
  1070. }
  1071. func (m *GetTopicListResp) Marshal() (dAtA []byte, err error) {
  1072. size := m.Size()
  1073. dAtA = make([]byte, size)
  1074. n, err := m.MarshalTo(dAtA)
  1075. if err != nil {
  1076. return nil, err
  1077. }
  1078. return dAtA[:n], nil
  1079. }
  1080. func (m *GetTopicListResp) MarshalTo(dAtA []byte) (int, error) {
  1081. var i int
  1082. _ = i
  1083. var l int
  1084. _ = l
  1085. if len(m.TopicList) > 0 {
  1086. for _, s := range m.TopicList {
  1087. dAtA[i] = 0xa
  1088. i++
  1089. l = len(s)
  1090. for l >= 1<<7 {
  1091. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  1092. l >>= 7
  1093. i++
  1094. }
  1095. dAtA[i] = uint8(l)
  1096. i++
  1097. i += copy(dAtA[i:], s)
  1098. }
  1099. }
  1100. if m.XXX_unrecognized != nil {
  1101. i += copy(dAtA[i:], m.XXX_unrecognized)
  1102. }
  1103. return i, nil
  1104. }
  1105. func (m *CheckTopicReq) Marshal() (dAtA []byte, err error) {
  1106. size := m.Size()
  1107. dAtA = make([]byte, size)
  1108. n, err := m.MarshalTo(dAtA)
  1109. if err != nil {
  1110. return nil, err
  1111. }
  1112. return dAtA[:n], nil
  1113. }
  1114. func (m *CheckTopicReq) MarshalTo(dAtA []byte) (int, error) {
  1115. var i int
  1116. _ = i
  1117. var l int
  1118. _ = l
  1119. if len(m.Platform) > 0 {
  1120. dAtA[i] = 0xa
  1121. i++
  1122. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Platform)))
  1123. i += copy(dAtA[i:], m.Platform)
  1124. }
  1125. if len(m.Topic) > 0 {
  1126. dAtA[i] = 0x12
  1127. i++
  1128. i = encodeVarintAppBlink(dAtA, i, uint64(len(m.Topic)))
  1129. i += copy(dAtA[i:], m.Topic)
  1130. }
  1131. if m.XXX_unrecognized != nil {
  1132. i += copy(dAtA[i:], m.XXX_unrecognized)
  1133. }
  1134. return i, nil
  1135. }
  1136. func (m *CheckTopicResp) Marshal() (dAtA []byte, err error) {
  1137. size := m.Size()
  1138. dAtA = make([]byte, size)
  1139. n, err := m.MarshalTo(dAtA)
  1140. if err != nil {
  1141. return nil, err
  1142. }
  1143. return dAtA[:n], nil
  1144. }
  1145. func (m *CheckTopicResp) MarshalTo(dAtA []byte) (int, error) {
  1146. var i int
  1147. _ = i
  1148. var l int
  1149. _ = l
  1150. if m.XXX_unrecognized != nil {
  1151. i += copy(dAtA[i:], m.XXX_unrecognized)
  1152. }
  1153. return i, nil
  1154. }
  1155. func encodeVarintAppBlink(dAtA []byte, offset int, v uint64) int {
  1156. for v >= 1<<7 {
  1157. dAtA[offset] = uint8(v&0x7f | 0x80)
  1158. v >>= 7
  1159. offset++
  1160. }
  1161. dAtA[offset] = uint8(v)
  1162. return offset + 1
  1163. }
  1164. func (m *GetInfoReq) Size() (n int) {
  1165. if m == nil {
  1166. return 0
  1167. }
  1168. var l int
  1169. _ = l
  1170. l = len(m.Platform)
  1171. if l > 0 {
  1172. n += 1 + l + sovAppBlink(uint64(l))
  1173. }
  1174. l = len(m.Build)
  1175. if l > 0 {
  1176. n += 1 + l + sovAppBlink(uint64(l))
  1177. }
  1178. if m.XXX_unrecognized != nil {
  1179. n += len(m.XXX_unrecognized)
  1180. }
  1181. return n
  1182. }
  1183. func (m *GetInfoResp) Size() (n int) {
  1184. if m == nil {
  1185. return 0
  1186. }
  1187. var l int
  1188. _ = l
  1189. if m.Id != 0 {
  1190. n += 1 + sovAppBlink(uint64(m.Id))
  1191. }
  1192. l = len(m.Title)
  1193. if l > 0 {
  1194. n += 1 + l + sovAppBlink(uint64(l))
  1195. }
  1196. l = len(m.JumpPath)
  1197. if l > 0 {
  1198. n += 1 + l + sovAppBlink(uint64(l))
  1199. }
  1200. if m.JumpTime != 0 {
  1201. n += 1 + sovAppBlink(uint64(m.JumpTime))
  1202. }
  1203. if m.JumpPathType != 0 {
  1204. n += 1 + sovAppBlink(uint64(m.JumpPathType))
  1205. }
  1206. l = len(m.ImageUrl)
  1207. if l > 0 {
  1208. n += 1 + l + sovAppBlink(uint64(l))
  1209. }
  1210. if m.XXX_unrecognized != nil {
  1211. n += len(m.XXX_unrecognized)
  1212. }
  1213. return n
  1214. }
  1215. func (m *GetRoomInfoResp) Size() (n int) {
  1216. if m == nil {
  1217. return 0
  1218. }
  1219. var l int
  1220. _ = l
  1221. if m.RoomId != 0 {
  1222. n += 1 + sovAppBlink(uint64(m.RoomId))
  1223. }
  1224. if m.Uid != 0 {
  1225. n += 1 + sovAppBlink(uint64(m.Uid))
  1226. }
  1227. l = len(m.Uname)
  1228. if l > 0 {
  1229. n += 1 + l + sovAppBlink(uint64(l))
  1230. }
  1231. l = len(m.Title)
  1232. if l > 0 {
  1233. n += 1 + l + sovAppBlink(uint64(l))
  1234. }
  1235. l = len(m.Face)
  1236. if l > 0 {
  1237. n += 1 + l + sovAppBlink(uint64(l))
  1238. }
  1239. l = len(m.TryTime)
  1240. if l > 0 {
  1241. n += 1 + l + sovAppBlink(uint64(l))
  1242. }
  1243. if m.LiveStatus != 0 {
  1244. n += 1 + sovAppBlink(uint64(m.LiveStatus))
  1245. }
  1246. l = len(m.AreaV2Name)
  1247. if l > 0 {
  1248. n += 1 + l + sovAppBlink(uint64(l))
  1249. }
  1250. if m.AreaV2Id != 0 {
  1251. n += 1 + sovAppBlink(uint64(m.AreaV2Id))
  1252. }
  1253. if m.MasterLevel != 0 {
  1254. n += 1 + sovAppBlink(uint64(m.MasterLevel))
  1255. }
  1256. if m.MasterLevelColor != 0 {
  1257. n += 1 + sovAppBlink(uint64(m.MasterLevelColor))
  1258. }
  1259. if m.MasterScore != 0 {
  1260. n += 1 + sovAppBlink(uint64(m.MasterScore))
  1261. }
  1262. if m.MasterNextLevel != 0 {
  1263. n += 1 + sovAppBlink(uint64(m.MasterNextLevel))
  1264. }
  1265. if m.MaxLevel != 0 {
  1266. n += 1 + sovAppBlink(uint64(m.MaxLevel))
  1267. }
  1268. if m.FcNum != 0 {
  1269. n += 2 + sovAppBlink(uint64(m.FcNum))
  1270. }
  1271. if m.Rcost != 0 {
  1272. n += 2 + sovAppBlink(uint64(m.Rcost))
  1273. }
  1274. if m.MedalStatus != 0 {
  1275. n += 2 + sovAppBlink(uint64(m.MedalStatus))
  1276. }
  1277. l = len(m.MedalName)
  1278. if l > 0 {
  1279. n += 2 + l + sovAppBlink(uint64(l))
  1280. }
  1281. if m.MedalRenameStatus != 0 {
  1282. n += 2 + sovAppBlink(uint64(m.MedalRenameStatus))
  1283. }
  1284. if m.IsMedal != 0 {
  1285. n += 2 + sovAppBlink(uint64(m.IsMedal))
  1286. }
  1287. l = len(m.FullText)
  1288. if l > 0 {
  1289. n += 2 + l + sovAppBlink(uint64(l))
  1290. }
  1291. if m.IdentifyStatus != 0 {
  1292. n += 2 + sovAppBlink(uint64(m.IdentifyStatus))
  1293. }
  1294. if m.LockStatus != 0 {
  1295. n += 2 + sovAppBlink(uint64(m.LockStatus))
  1296. }
  1297. l = len(m.LockTime)
  1298. if l > 0 {
  1299. n += 2 + l + sovAppBlink(uint64(l))
  1300. }
  1301. if m.OpenMedalLevel != 0 {
  1302. n += 2 + sovAppBlink(uint64(m.OpenMedalLevel))
  1303. }
  1304. if m.MasterNextLevelScore != 0 {
  1305. n += 2 + sovAppBlink(uint64(m.MasterNextLevelScore))
  1306. }
  1307. if m.ParentId != 0 {
  1308. n += 2 + sovAppBlink(uint64(m.ParentId))
  1309. }
  1310. l = len(m.ParentName)
  1311. if l > 0 {
  1312. n += 2 + l + sovAppBlink(uint64(l))
  1313. }
  1314. if m.XXX_unrecognized != nil {
  1315. n += len(m.XXX_unrecognized)
  1316. }
  1317. return n
  1318. }
  1319. func (m *GetRoomInfoReq) Size() (n int) {
  1320. if m == nil {
  1321. return 0
  1322. }
  1323. var l int
  1324. _ = l
  1325. l = len(m.Platform)
  1326. if l > 0 {
  1327. n += 1 + l + sovAppBlink(uint64(l))
  1328. }
  1329. if m.XXX_unrecognized != nil {
  1330. n += len(m.XXX_unrecognized)
  1331. }
  1332. return n
  1333. }
  1334. func (m *CreateResp) Size() (n int) {
  1335. if m == nil {
  1336. return 0
  1337. }
  1338. var l int
  1339. _ = l
  1340. l = len(m.RoomId)
  1341. if l > 0 {
  1342. n += 1 + l + sovAppBlink(uint64(l))
  1343. }
  1344. if m.XXX_unrecognized != nil {
  1345. n += len(m.XXX_unrecognized)
  1346. }
  1347. return n
  1348. }
  1349. func (m *CreateReq) Size() (n int) {
  1350. if m == nil {
  1351. return 0
  1352. }
  1353. var l int
  1354. _ = l
  1355. l = len(m.Platform)
  1356. if l > 0 {
  1357. n += 1 + l + sovAppBlink(uint64(l))
  1358. }
  1359. if m.XXX_unrecognized != nil {
  1360. n += len(m.XXX_unrecognized)
  1361. }
  1362. return n
  1363. }
  1364. func (m *GetTopicListReq) Size() (n int) {
  1365. if m == nil {
  1366. return 0
  1367. }
  1368. var l int
  1369. _ = l
  1370. l = len(m.Platform)
  1371. if l > 0 {
  1372. n += 1 + l + sovAppBlink(uint64(l))
  1373. }
  1374. if m.XXX_unrecognized != nil {
  1375. n += len(m.XXX_unrecognized)
  1376. }
  1377. return n
  1378. }
  1379. func (m *GetTopicListResp) Size() (n int) {
  1380. if m == nil {
  1381. return 0
  1382. }
  1383. var l int
  1384. _ = l
  1385. if len(m.TopicList) > 0 {
  1386. for _, s := range m.TopicList {
  1387. l = len(s)
  1388. n += 1 + l + sovAppBlink(uint64(l))
  1389. }
  1390. }
  1391. if m.XXX_unrecognized != nil {
  1392. n += len(m.XXX_unrecognized)
  1393. }
  1394. return n
  1395. }
  1396. func (m *CheckTopicReq) Size() (n int) {
  1397. if m == nil {
  1398. return 0
  1399. }
  1400. var l int
  1401. _ = l
  1402. l = len(m.Platform)
  1403. if l > 0 {
  1404. n += 1 + l + sovAppBlink(uint64(l))
  1405. }
  1406. l = len(m.Topic)
  1407. if l > 0 {
  1408. n += 1 + l + sovAppBlink(uint64(l))
  1409. }
  1410. if m.XXX_unrecognized != nil {
  1411. n += len(m.XXX_unrecognized)
  1412. }
  1413. return n
  1414. }
  1415. func (m *CheckTopicResp) Size() (n int) {
  1416. if m == nil {
  1417. return 0
  1418. }
  1419. var l int
  1420. _ = l
  1421. if m.XXX_unrecognized != nil {
  1422. n += len(m.XXX_unrecognized)
  1423. }
  1424. return n
  1425. }
  1426. func sovAppBlink(x uint64) (n int) {
  1427. for {
  1428. n++
  1429. x >>= 7
  1430. if x == 0 {
  1431. break
  1432. }
  1433. }
  1434. return n
  1435. }
  1436. func sozAppBlink(x uint64) (n int) {
  1437. return sovAppBlink(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1438. }
  1439. func (m *GetInfoReq) Unmarshal(dAtA []byte) error {
  1440. l := len(dAtA)
  1441. iNdEx := 0
  1442. for iNdEx < l {
  1443. preIndex := iNdEx
  1444. var wire uint64
  1445. for shift := uint(0); ; shift += 7 {
  1446. if shift >= 64 {
  1447. return ErrIntOverflowAppBlink
  1448. }
  1449. if iNdEx >= l {
  1450. return io.ErrUnexpectedEOF
  1451. }
  1452. b := dAtA[iNdEx]
  1453. iNdEx++
  1454. wire |= (uint64(b) & 0x7F) << shift
  1455. if b < 0x80 {
  1456. break
  1457. }
  1458. }
  1459. fieldNum := int32(wire >> 3)
  1460. wireType := int(wire & 0x7)
  1461. if wireType == 4 {
  1462. return fmt.Errorf("proto: GetInfoReq: wiretype end group for non-group")
  1463. }
  1464. if fieldNum <= 0 {
  1465. return fmt.Errorf("proto: GetInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  1466. }
  1467. switch fieldNum {
  1468. case 1:
  1469. if wireType != 2 {
  1470. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  1471. }
  1472. var stringLen uint64
  1473. for shift := uint(0); ; shift += 7 {
  1474. if shift >= 64 {
  1475. return ErrIntOverflowAppBlink
  1476. }
  1477. if iNdEx >= l {
  1478. return io.ErrUnexpectedEOF
  1479. }
  1480. b := dAtA[iNdEx]
  1481. iNdEx++
  1482. stringLen |= (uint64(b) & 0x7F) << shift
  1483. if b < 0x80 {
  1484. break
  1485. }
  1486. }
  1487. intStringLen := int(stringLen)
  1488. if intStringLen < 0 {
  1489. return ErrInvalidLengthAppBlink
  1490. }
  1491. postIndex := iNdEx + intStringLen
  1492. if postIndex > l {
  1493. return io.ErrUnexpectedEOF
  1494. }
  1495. m.Platform = string(dAtA[iNdEx:postIndex])
  1496. iNdEx = postIndex
  1497. case 2:
  1498. if wireType != 2 {
  1499. return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType)
  1500. }
  1501. var stringLen uint64
  1502. for shift := uint(0); ; shift += 7 {
  1503. if shift >= 64 {
  1504. return ErrIntOverflowAppBlink
  1505. }
  1506. if iNdEx >= l {
  1507. return io.ErrUnexpectedEOF
  1508. }
  1509. b := dAtA[iNdEx]
  1510. iNdEx++
  1511. stringLen |= (uint64(b) & 0x7F) << shift
  1512. if b < 0x80 {
  1513. break
  1514. }
  1515. }
  1516. intStringLen := int(stringLen)
  1517. if intStringLen < 0 {
  1518. return ErrInvalidLengthAppBlink
  1519. }
  1520. postIndex := iNdEx + intStringLen
  1521. if postIndex > l {
  1522. return io.ErrUnexpectedEOF
  1523. }
  1524. m.Build = string(dAtA[iNdEx:postIndex])
  1525. iNdEx = postIndex
  1526. default:
  1527. iNdEx = preIndex
  1528. skippy, err := skipAppBlink(dAtA[iNdEx:])
  1529. if err != nil {
  1530. return err
  1531. }
  1532. if skippy < 0 {
  1533. return ErrInvalidLengthAppBlink
  1534. }
  1535. if (iNdEx + skippy) > l {
  1536. return io.ErrUnexpectedEOF
  1537. }
  1538. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1539. iNdEx += skippy
  1540. }
  1541. }
  1542. if iNdEx > l {
  1543. return io.ErrUnexpectedEOF
  1544. }
  1545. return nil
  1546. }
  1547. func (m *GetInfoResp) Unmarshal(dAtA []byte) error {
  1548. l := len(dAtA)
  1549. iNdEx := 0
  1550. for iNdEx < l {
  1551. preIndex := iNdEx
  1552. var wire uint64
  1553. for shift := uint(0); ; shift += 7 {
  1554. if shift >= 64 {
  1555. return ErrIntOverflowAppBlink
  1556. }
  1557. if iNdEx >= l {
  1558. return io.ErrUnexpectedEOF
  1559. }
  1560. b := dAtA[iNdEx]
  1561. iNdEx++
  1562. wire |= (uint64(b) & 0x7F) << shift
  1563. if b < 0x80 {
  1564. break
  1565. }
  1566. }
  1567. fieldNum := int32(wire >> 3)
  1568. wireType := int(wire & 0x7)
  1569. if wireType == 4 {
  1570. return fmt.Errorf("proto: GetInfoResp: wiretype end group for non-group")
  1571. }
  1572. if fieldNum <= 0 {
  1573. return fmt.Errorf("proto: GetInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1574. }
  1575. switch fieldNum {
  1576. case 1:
  1577. if wireType != 0 {
  1578. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  1579. }
  1580. m.Id = 0
  1581. for shift := uint(0); ; shift += 7 {
  1582. if shift >= 64 {
  1583. return ErrIntOverflowAppBlink
  1584. }
  1585. if iNdEx >= l {
  1586. return io.ErrUnexpectedEOF
  1587. }
  1588. b := dAtA[iNdEx]
  1589. iNdEx++
  1590. m.Id |= (int64(b) & 0x7F) << shift
  1591. if b < 0x80 {
  1592. break
  1593. }
  1594. }
  1595. case 2:
  1596. if wireType != 2 {
  1597. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1598. }
  1599. var stringLen uint64
  1600. for shift := uint(0); ; shift += 7 {
  1601. if shift >= 64 {
  1602. return ErrIntOverflowAppBlink
  1603. }
  1604. if iNdEx >= l {
  1605. return io.ErrUnexpectedEOF
  1606. }
  1607. b := dAtA[iNdEx]
  1608. iNdEx++
  1609. stringLen |= (uint64(b) & 0x7F) << shift
  1610. if b < 0x80 {
  1611. break
  1612. }
  1613. }
  1614. intStringLen := int(stringLen)
  1615. if intStringLen < 0 {
  1616. return ErrInvalidLengthAppBlink
  1617. }
  1618. postIndex := iNdEx + intStringLen
  1619. if postIndex > l {
  1620. return io.ErrUnexpectedEOF
  1621. }
  1622. m.Title = string(dAtA[iNdEx:postIndex])
  1623. iNdEx = postIndex
  1624. case 3:
  1625. if wireType != 2 {
  1626. return fmt.Errorf("proto: wrong wireType = %d for field JumpPath", wireType)
  1627. }
  1628. var stringLen uint64
  1629. for shift := uint(0); ; shift += 7 {
  1630. if shift >= 64 {
  1631. return ErrIntOverflowAppBlink
  1632. }
  1633. if iNdEx >= l {
  1634. return io.ErrUnexpectedEOF
  1635. }
  1636. b := dAtA[iNdEx]
  1637. iNdEx++
  1638. stringLen |= (uint64(b) & 0x7F) << shift
  1639. if b < 0x80 {
  1640. break
  1641. }
  1642. }
  1643. intStringLen := int(stringLen)
  1644. if intStringLen < 0 {
  1645. return ErrInvalidLengthAppBlink
  1646. }
  1647. postIndex := iNdEx + intStringLen
  1648. if postIndex > l {
  1649. return io.ErrUnexpectedEOF
  1650. }
  1651. m.JumpPath = string(dAtA[iNdEx:postIndex])
  1652. iNdEx = postIndex
  1653. case 4:
  1654. if wireType != 0 {
  1655. return fmt.Errorf("proto: wrong wireType = %d for field JumpTime", wireType)
  1656. }
  1657. m.JumpTime = 0
  1658. for shift := uint(0); ; shift += 7 {
  1659. if shift >= 64 {
  1660. return ErrIntOverflowAppBlink
  1661. }
  1662. if iNdEx >= l {
  1663. return io.ErrUnexpectedEOF
  1664. }
  1665. b := dAtA[iNdEx]
  1666. iNdEx++
  1667. m.JumpTime |= (int64(b) & 0x7F) << shift
  1668. if b < 0x80 {
  1669. break
  1670. }
  1671. }
  1672. case 5:
  1673. if wireType != 0 {
  1674. return fmt.Errorf("proto: wrong wireType = %d for field JumpPathType", wireType)
  1675. }
  1676. m.JumpPathType = 0
  1677. for shift := uint(0); ; shift += 7 {
  1678. if shift >= 64 {
  1679. return ErrIntOverflowAppBlink
  1680. }
  1681. if iNdEx >= l {
  1682. return io.ErrUnexpectedEOF
  1683. }
  1684. b := dAtA[iNdEx]
  1685. iNdEx++
  1686. m.JumpPathType |= (int64(b) & 0x7F) << shift
  1687. if b < 0x80 {
  1688. break
  1689. }
  1690. }
  1691. case 6:
  1692. if wireType != 2 {
  1693. return fmt.Errorf("proto: wrong wireType = %d for field ImageUrl", wireType)
  1694. }
  1695. var stringLen uint64
  1696. for shift := uint(0); ; shift += 7 {
  1697. if shift >= 64 {
  1698. return ErrIntOverflowAppBlink
  1699. }
  1700. if iNdEx >= l {
  1701. return io.ErrUnexpectedEOF
  1702. }
  1703. b := dAtA[iNdEx]
  1704. iNdEx++
  1705. stringLen |= (uint64(b) & 0x7F) << shift
  1706. if b < 0x80 {
  1707. break
  1708. }
  1709. }
  1710. intStringLen := int(stringLen)
  1711. if intStringLen < 0 {
  1712. return ErrInvalidLengthAppBlink
  1713. }
  1714. postIndex := iNdEx + intStringLen
  1715. if postIndex > l {
  1716. return io.ErrUnexpectedEOF
  1717. }
  1718. m.ImageUrl = string(dAtA[iNdEx:postIndex])
  1719. iNdEx = postIndex
  1720. default:
  1721. iNdEx = preIndex
  1722. skippy, err := skipAppBlink(dAtA[iNdEx:])
  1723. if err != nil {
  1724. return err
  1725. }
  1726. if skippy < 0 {
  1727. return ErrInvalidLengthAppBlink
  1728. }
  1729. if (iNdEx + skippy) > l {
  1730. return io.ErrUnexpectedEOF
  1731. }
  1732. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1733. iNdEx += skippy
  1734. }
  1735. }
  1736. if iNdEx > l {
  1737. return io.ErrUnexpectedEOF
  1738. }
  1739. return nil
  1740. }
  1741. func (m *GetRoomInfoResp) Unmarshal(dAtA []byte) error {
  1742. l := len(dAtA)
  1743. iNdEx := 0
  1744. for iNdEx < l {
  1745. preIndex := iNdEx
  1746. var wire uint64
  1747. for shift := uint(0); ; shift += 7 {
  1748. if shift >= 64 {
  1749. return ErrIntOverflowAppBlink
  1750. }
  1751. if iNdEx >= l {
  1752. return io.ErrUnexpectedEOF
  1753. }
  1754. b := dAtA[iNdEx]
  1755. iNdEx++
  1756. wire |= (uint64(b) & 0x7F) << shift
  1757. if b < 0x80 {
  1758. break
  1759. }
  1760. }
  1761. fieldNum := int32(wire >> 3)
  1762. wireType := int(wire & 0x7)
  1763. if wireType == 4 {
  1764. return fmt.Errorf("proto: GetRoomInfoResp: wiretype end group for non-group")
  1765. }
  1766. if fieldNum <= 0 {
  1767. return fmt.Errorf("proto: GetRoomInfoResp: illegal tag %d (wire type %d)", fieldNum, wire)
  1768. }
  1769. switch fieldNum {
  1770. case 1:
  1771. if wireType != 0 {
  1772. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  1773. }
  1774. m.RoomId = 0
  1775. for shift := uint(0); ; shift += 7 {
  1776. if shift >= 64 {
  1777. return ErrIntOverflowAppBlink
  1778. }
  1779. if iNdEx >= l {
  1780. return io.ErrUnexpectedEOF
  1781. }
  1782. b := dAtA[iNdEx]
  1783. iNdEx++
  1784. m.RoomId |= (int64(b) & 0x7F) << shift
  1785. if b < 0x80 {
  1786. break
  1787. }
  1788. }
  1789. case 2:
  1790. if wireType != 0 {
  1791. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1792. }
  1793. m.Uid = 0
  1794. for shift := uint(0); ; shift += 7 {
  1795. if shift >= 64 {
  1796. return ErrIntOverflowAppBlink
  1797. }
  1798. if iNdEx >= l {
  1799. return io.ErrUnexpectedEOF
  1800. }
  1801. b := dAtA[iNdEx]
  1802. iNdEx++
  1803. m.Uid |= (int64(b) & 0x7F) << shift
  1804. if b < 0x80 {
  1805. break
  1806. }
  1807. }
  1808. case 3:
  1809. if wireType != 2 {
  1810. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1811. }
  1812. var stringLen uint64
  1813. for shift := uint(0); ; shift += 7 {
  1814. if shift >= 64 {
  1815. return ErrIntOverflowAppBlink
  1816. }
  1817. if iNdEx >= l {
  1818. return io.ErrUnexpectedEOF
  1819. }
  1820. b := dAtA[iNdEx]
  1821. iNdEx++
  1822. stringLen |= (uint64(b) & 0x7F) << shift
  1823. if b < 0x80 {
  1824. break
  1825. }
  1826. }
  1827. intStringLen := int(stringLen)
  1828. if intStringLen < 0 {
  1829. return ErrInvalidLengthAppBlink
  1830. }
  1831. postIndex := iNdEx + intStringLen
  1832. if postIndex > l {
  1833. return io.ErrUnexpectedEOF
  1834. }
  1835. m.Uname = string(dAtA[iNdEx:postIndex])
  1836. iNdEx = postIndex
  1837. case 4:
  1838. if wireType != 2 {
  1839. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1840. }
  1841. var stringLen uint64
  1842. for shift := uint(0); ; shift += 7 {
  1843. if shift >= 64 {
  1844. return ErrIntOverflowAppBlink
  1845. }
  1846. if iNdEx >= l {
  1847. return io.ErrUnexpectedEOF
  1848. }
  1849. b := dAtA[iNdEx]
  1850. iNdEx++
  1851. stringLen |= (uint64(b) & 0x7F) << shift
  1852. if b < 0x80 {
  1853. break
  1854. }
  1855. }
  1856. intStringLen := int(stringLen)
  1857. if intStringLen < 0 {
  1858. return ErrInvalidLengthAppBlink
  1859. }
  1860. postIndex := iNdEx + intStringLen
  1861. if postIndex > l {
  1862. return io.ErrUnexpectedEOF
  1863. }
  1864. m.Title = string(dAtA[iNdEx:postIndex])
  1865. iNdEx = postIndex
  1866. case 5:
  1867. if wireType != 2 {
  1868. return fmt.Errorf("proto: wrong wireType = %d for field Face", wireType)
  1869. }
  1870. var stringLen uint64
  1871. for shift := uint(0); ; shift += 7 {
  1872. if shift >= 64 {
  1873. return ErrIntOverflowAppBlink
  1874. }
  1875. if iNdEx >= l {
  1876. return io.ErrUnexpectedEOF
  1877. }
  1878. b := dAtA[iNdEx]
  1879. iNdEx++
  1880. stringLen |= (uint64(b) & 0x7F) << shift
  1881. if b < 0x80 {
  1882. break
  1883. }
  1884. }
  1885. intStringLen := int(stringLen)
  1886. if intStringLen < 0 {
  1887. return ErrInvalidLengthAppBlink
  1888. }
  1889. postIndex := iNdEx + intStringLen
  1890. if postIndex > l {
  1891. return io.ErrUnexpectedEOF
  1892. }
  1893. m.Face = string(dAtA[iNdEx:postIndex])
  1894. iNdEx = postIndex
  1895. case 7:
  1896. if wireType != 2 {
  1897. return fmt.Errorf("proto: wrong wireType = %d for field TryTime", wireType)
  1898. }
  1899. var stringLen uint64
  1900. for shift := uint(0); ; shift += 7 {
  1901. if shift >= 64 {
  1902. return ErrIntOverflowAppBlink
  1903. }
  1904. if iNdEx >= l {
  1905. return io.ErrUnexpectedEOF
  1906. }
  1907. b := dAtA[iNdEx]
  1908. iNdEx++
  1909. stringLen |= (uint64(b) & 0x7F) << shift
  1910. if b < 0x80 {
  1911. break
  1912. }
  1913. }
  1914. intStringLen := int(stringLen)
  1915. if intStringLen < 0 {
  1916. return ErrInvalidLengthAppBlink
  1917. }
  1918. postIndex := iNdEx + intStringLen
  1919. if postIndex > l {
  1920. return io.ErrUnexpectedEOF
  1921. }
  1922. m.TryTime = string(dAtA[iNdEx:postIndex])
  1923. iNdEx = postIndex
  1924. case 8:
  1925. if wireType != 0 {
  1926. return fmt.Errorf("proto: wrong wireType = %d for field LiveStatus", wireType)
  1927. }
  1928. m.LiveStatus = 0
  1929. for shift := uint(0); ; shift += 7 {
  1930. if shift >= 64 {
  1931. return ErrIntOverflowAppBlink
  1932. }
  1933. if iNdEx >= l {
  1934. return io.ErrUnexpectedEOF
  1935. }
  1936. b := dAtA[iNdEx]
  1937. iNdEx++
  1938. m.LiveStatus |= (int64(b) & 0x7F) << shift
  1939. if b < 0x80 {
  1940. break
  1941. }
  1942. }
  1943. case 9:
  1944. if wireType != 2 {
  1945. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  1946. }
  1947. var stringLen uint64
  1948. for shift := uint(0); ; shift += 7 {
  1949. if shift >= 64 {
  1950. return ErrIntOverflowAppBlink
  1951. }
  1952. if iNdEx >= l {
  1953. return io.ErrUnexpectedEOF
  1954. }
  1955. b := dAtA[iNdEx]
  1956. iNdEx++
  1957. stringLen |= (uint64(b) & 0x7F) << shift
  1958. if b < 0x80 {
  1959. break
  1960. }
  1961. }
  1962. intStringLen := int(stringLen)
  1963. if intStringLen < 0 {
  1964. return ErrInvalidLengthAppBlink
  1965. }
  1966. postIndex := iNdEx + intStringLen
  1967. if postIndex > l {
  1968. return io.ErrUnexpectedEOF
  1969. }
  1970. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  1971. iNdEx = postIndex
  1972. case 10:
  1973. if wireType != 0 {
  1974. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Id", wireType)
  1975. }
  1976. m.AreaV2Id = 0
  1977. for shift := uint(0); ; shift += 7 {
  1978. if shift >= 64 {
  1979. return ErrIntOverflowAppBlink
  1980. }
  1981. if iNdEx >= l {
  1982. return io.ErrUnexpectedEOF
  1983. }
  1984. b := dAtA[iNdEx]
  1985. iNdEx++
  1986. m.AreaV2Id |= (int64(b) & 0x7F) << shift
  1987. if b < 0x80 {
  1988. break
  1989. }
  1990. }
  1991. case 11:
  1992. if wireType != 0 {
  1993. return fmt.Errorf("proto: wrong wireType = %d for field MasterLevel", wireType)
  1994. }
  1995. m.MasterLevel = 0
  1996. for shift := uint(0); ; shift += 7 {
  1997. if shift >= 64 {
  1998. return ErrIntOverflowAppBlink
  1999. }
  2000. if iNdEx >= l {
  2001. return io.ErrUnexpectedEOF
  2002. }
  2003. b := dAtA[iNdEx]
  2004. iNdEx++
  2005. m.MasterLevel |= (int64(b) & 0x7F) << shift
  2006. if b < 0x80 {
  2007. break
  2008. }
  2009. }
  2010. case 12:
  2011. if wireType != 0 {
  2012. return fmt.Errorf("proto: wrong wireType = %d for field MasterLevelColor", wireType)
  2013. }
  2014. m.MasterLevelColor = 0
  2015. for shift := uint(0); ; shift += 7 {
  2016. if shift >= 64 {
  2017. return ErrIntOverflowAppBlink
  2018. }
  2019. if iNdEx >= l {
  2020. return io.ErrUnexpectedEOF
  2021. }
  2022. b := dAtA[iNdEx]
  2023. iNdEx++
  2024. m.MasterLevelColor |= (int64(b) & 0x7F) << shift
  2025. if b < 0x80 {
  2026. break
  2027. }
  2028. }
  2029. case 13:
  2030. if wireType != 0 {
  2031. return fmt.Errorf("proto: wrong wireType = %d for field MasterScore", wireType)
  2032. }
  2033. m.MasterScore = 0
  2034. for shift := uint(0); ; shift += 7 {
  2035. if shift >= 64 {
  2036. return ErrIntOverflowAppBlink
  2037. }
  2038. if iNdEx >= l {
  2039. return io.ErrUnexpectedEOF
  2040. }
  2041. b := dAtA[iNdEx]
  2042. iNdEx++
  2043. m.MasterScore |= (int64(b) & 0x7F) << shift
  2044. if b < 0x80 {
  2045. break
  2046. }
  2047. }
  2048. case 14:
  2049. if wireType != 0 {
  2050. return fmt.Errorf("proto: wrong wireType = %d for field MasterNextLevel", wireType)
  2051. }
  2052. m.MasterNextLevel = 0
  2053. for shift := uint(0); ; shift += 7 {
  2054. if shift >= 64 {
  2055. return ErrIntOverflowAppBlink
  2056. }
  2057. if iNdEx >= l {
  2058. return io.ErrUnexpectedEOF
  2059. }
  2060. b := dAtA[iNdEx]
  2061. iNdEx++
  2062. m.MasterNextLevel |= (int64(b) & 0x7F) << shift
  2063. if b < 0x80 {
  2064. break
  2065. }
  2066. }
  2067. case 15:
  2068. if wireType != 0 {
  2069. return fmt.Errorf("proto: wrong wireType = %d for field MaxLevel", wireType)
  2070. }
  2071. m.MaxLevel = 0
  2072. for shift := uint(0); ; shift += 7 {
  2073. if shift >= 64 {
  2074. return ErrIntOverflowAppBlink
  2075. }
  2076. if iNdEx >= l {
  2077. return io.ErrUnexpectedEOF
  2078. }
  2079. b := dAtA[iNdEx]
  2080. iNdEx++
  2081. m.MaxLevel |= (int64(b) & 0x7F) << shift
  2082. if b < 0x80 {
  2083. break
  2084. }
  2085. }
  2086. case 16:
  2087. if wireType != 0 {
  2088. return fmt.Errorf("proto: wrong wireType = %d for field FcNum", wireType)
  2089. }
  2090. m.FcNum = 0
  2091. for shift := uint(0); ; shift += 7 {
  2092. if shift >= 64 {
  2093. return ErrIntOverflowAppBlink
  2094. }
  2095. if iNdEx >= l {
  2096. return io.ErrUnexpectedEOF
  2097. }
  2098. b := dAtA[iNdEx]
  2099. iNdEx++
  2100. m.FcNum |= (int64(b) & 0x7F) << shift
  2101. if b < 0x80 {
  2102. break
  2103. }
  2104. }
  2105. case 17:
  2106. if wireType != 0 {
  2107. return fmt.Errorf("proto: wrong wireType = %d for field Rcost", wireType)
  2108. }
  2109. m.Rcost = 0
  2110. for shift := uint(0); ; shift += 7 {
  2111. if shift >= 64 {
  2112. return ErrIntOverflowAppBlink
  2113. }
  2114. if iNdEx >= l {
  2115. return io.ErrUnexpectedEOF
  2116. }
  2117. b := dAtA[iNdEx]
  2118. iNdEx++
  2119. m.Rcost |= (int64(b) & 0x7F) << shift
  2120. if b < 0x80 {
  2121. break
  2122. }
  2123. }
  2124. case 18:
  2125. if wireType != 0 {
  2126. return fmt.Errorf("proto: wrong wireType = %d for field MedalStatus", wireType)
  2127. }
  2128. m.MedalStatus = 0
  2129. for shift := uint(0); ; shift += 7 {
  2130. if shift >= 64 {
  2131. return ErrIntOverflowAppBlink
  2132. }
  2133. if iNdEx >= l {
  2134. return io.ErrUnexpectedEOF
  2135. }
  2136. b := dAtA[iNdEx]
  2137. iNdEx++
  2138. m.MedalStatus |= (int64(b) & 0x7F) << shift
  2139. if b < 0x80 {
  2140. break
  2141. }
  2142. }
  2143. case 19:
  2144. if wireType != 2 {
  2145. return fmt.Errorf("proto: wrong wireType = %d for field MedalName", wireType)
  2146. }
  2147. var stringLen uint64
  2148. for shift := uint(0); ; shift += 7 {
  2149. if shift >= 64 {
  2150. return ErrIntOverflowAppBlink
  2151. }
  2152. if iNdEx >= l {
  2153. return io.ErrUnexpectedEOF
  2154. }
  2155. b := dAtA[iNdEx]
  2156. iNdEx++
  2157. stringLen |= (uint64(b) & 0x7F) << shift
  2158. if b < 0x80 {
  2159. break
  2160. }
  2161. }
  2162. intStringLen := int(stringLen)
  2163. if intStringLen < 0 {
  2164. return ErrInvalidLengthAppBlink
  2165. }
  2166. postIndex := iNdEx + intStringLen
  2167. if postIndex > l {
  2168. return io.ErrUnexpectedEOF
  2169. }
  2170. m.MedalName = string(dAtA[iNdEx:postIndex])
  2171. iNdEx = postIndex
  2172. case 20:
  2173. if wireType != 0 {
  2174. return fmt.Errorf("proto: wrong wireType = %d for field MedalRenameStatus", wireType)
  2175. }
  2176. m.MedalRenameStatus = 0
  2177. for shift := uint(0); ; shift += 7 {
  2178. if shift >= 64 {
  2179. return ErrIntOverflowAppBlink
  2180. }
  2181. if iNdEx >= l {
  2182. return io.ErrUnexpectedEOF
  2183. }
  2184. b := dAtA[iNdEx]
  2185. iNdEx++
  2186. m.MedalRenameStatus |= (int64(b) & 0x7F) << shift
  2187. if b < 0x80 {
  2188. break
  2189. }
  2190. }
  2191. case 21:
  2192. if wireType != 0 {
  2193. return fmt.Errorf("proto: wrong wireType = %d for field IsMedal", wireType)
  2194. }
  2195. m.IsMedal = 0
  2196. for shift := uint(0); ; shift += 7 {
  2197. if shift >= 64 {
  2198. return ErrIntOverflowAppBlink
  2199. }
  2200. if iNdEx >= l {
  2201. return io.ErrUnexpectedEOF
  2202. }
  2203. b := dAtA[iNdEx]
  2204. iNdEx++
  2205. m.IsMedal |= (int64(b) & 0x7F) << shift
  2206. if b < 0x80 {
  2207. break
  2208. }
  2209. }
  2210. case 22:
  2211. if wireType != 2 {
  2212. return fmt.Errorf("proto: wrong wireType = %d for field FullText", wireType)
  2213. }
  2214. var stringLen uint64
  2215. for shift := uint(0); ; shift += 7 {
  2216. if shift >= 64 {
  2217. return ErrIntOverflowAppBlink
  2218. }
  2219. if iNdEx >= l {
  2220. return io.ErrUnexpectedEOF
  2221. }
  2222. b := dAtA[iNdEx]
  2223. iNdEx++
  2224. stringLen |= (uint64(b) & 0x7F) << shift
  2225. if b < 0x80 {
  2226. break
  2227. }
  2228. }
  2229. intStringLen := int(stringLen)
  2230. if intStringLen < 0 {
  2231. return ErrInvalidLengthAppBlink
  2232. }
  2233. postIndex := iNdEx + intStringLen
  2234. if postIndex > l {
  2235. return io.ErrUnexpectedEOF
  2236. }
  2237. m.FullText = string(dAtA[iNdEx:postIndex])
  2238. iNdEx = postIndex
  2239. case 23:
  2240. if wireType != 0 {
  2241. return fmt.Errorf("proto: wrong wireType = %d for field IdentifyStatus", wireType)
  2242. }
  2243. m.IdentifyStatus = 0
  2244. for shift := uint(0); ; shift += 7 {
  2245. if shift >= 64 {
  2246. return ErrIntOverflowAppBlink
  2247. }
  2248. if iNdEx >= l {
  2249. return io.ErrUnexpectedEOF
  2250. }
  2251. b := dAtA[iNdEx]
  2252. iNdEx++
  2253. m.IdentifyStatus |= (int64(b) & 0x7F) << shift
  2254. if b < 0x80 {
  2255. break
  2256. }
  2257. }
  2258. case 24:
  2259. if wireType != 0 {
  2260. return fmt.Errorf("proto: wrong wireType = %d for field LockStatus", wireType)
  2261. }
  2262. m.LockStatus = 0
  2263. for shift := uint(0); ; shift += 7 {
  2264. if shift >= 64 {
  2265. return ErrIntOverflowAppBlink
  2266. }
  2267. if iNdEx >= l {
  2268. return io.ErrUnexpectedEOF
  2269. }
  2270. b := dAtA[iNdEx]
  2271. iNdEx++
  2272. m.LockStatus |= (int64(b) & 0x7F) << shift
  2273. if b < 0x80 {
  2274. break
  2275. }
  2276. }
  2277. case 25:
  2278. if wireType != 2 {
  2279. return fmt.Errorf("proto: wrong wireType = %d for field LockTime", wireType)
  2280. }
  2281. var stringLen uint64
  2282. for shift := uint(0); ; shift += 7 {
  2283. if shift >= 64 {
  2284. return ErrIntOverflowAppBlink
  2285. }
  2286. if iNdEx >= l {
  2287. return io.ErrUnexpectedEOF
  2288. }
  2289. b := dAtA[iNdEx]
  2290. iNdEx++
  2291. stringLen |= (uint64(b) & 0x7F) << shift
  2292. if b < 0x80 {
  2293. break
  2294. }
  2295. }
  2296. intStringLen := int(stringLen)
  2297. if intStringLen < 0 {
  2298. return ErrInvalidLengthAppBlink
  2299. }
  2300. postIndex := iNdEx + intStringLen
  2301. if postIndex > l {
  2302. return io.ErrUnexpectedEOF
  2303. }
  2304. m.LockTime = string(dAtA[iNdEx:postIndex])
  2305. iNdEx = postIndex
  2306. case 26:
  2307. if wireType != 0 {
  2308. return fmt.Errorf("proto: wrong wireType = %d for field OpenMedalLevel", wireType)
  2309. }
  2310. m.OpenMedalLevel = 0
  2311. for shift := uint(0); ; shift += 7 {
  2312. if shift >= 64 {
  2313. return ErrIntOverflowAppBlink
  2314. }
  2315. if iNdEx >= l {
  2316. return io.ErrUnexpectedEOF
  2317. }
  2318. b := dAtA[iNdEx]
  2319. iNdEx++
  2320. m.OpenMedalLevel |= (int64(b) & 0x7F) << shift
  2321. if b < 0x80 {
  2322. break
  2323. }
  2324. }
  2325. case 27:
  2326. if wireType != 0 {
  2327. return fmt.Errorf("proto: wrong wireType = %d for field MasterNextLevelScore", wireType)
  2328. }
  2329. m.MasterNextLevelScore = 0
  2330. for shift := uint(0); ; shift += 7 {
  2331. if shift >= 64 {
  2332. return ErrIntOverflowAppBlink
  2333. }
  2334. if iNdEx >= l {
  2335. return io.ErrUnexpectedEOF
  2336. }
  2337. b := dAtA[iNdEx]
  2338. iNdEx++
  2339. m.MasterNextLevelScore |= (int64(b) & 0x7F) << shift
  2340. if b < 0x80 {
  2341. break
  2342. }
  2343. }
  2344. case 28:
  2345. if wireType != 0 {
  2346. return fmt.Errorf("proto: wrong wireType = %d for field ParentId", wireType)
  2347. }
  2348. m.ParentId = 0
  2349. for shift := uint(0); ; shift += 7 {
  2350. if shift >= 64 {
  2351. return ErrIntOverflowAppBlink
  2352. }
  2353. if iNdEx >= l {
  2354. return io.ErrUnexpectedEOF
  2355. }
  2356. b := dAtA[iNdEx]
  2357. iNdEx++
  2358. m.ParentId |= (int64(b) & 0x7F) << shift
  2359. if b < 0x80 {
  2360. break
  2361. }
  2362. }
  2363. case 29:
  2364. if wireType != 2 {
  2365. return fmt.Errorf("proto: wrong wireType = %d for field ParentName", wireType)
  2366. }
  2367. var stringLen uint64
  2368. for shift := uint(0); ; shift += 7 {
  2369. if shift >= 64 {
  2370. return ErrIntOverflowAppBlink
  2371. }
  2372. if iNdEx >= l {
  2373. return io.ErrUnexpectedEOF
  2374. }
  2375. b := dAtA[iNdEx]
  2376. iNdEx++
  2377. stringLen |= (uint64(b) & 0x7F) << shift
  2378. if b < 0x80 {
  2379. break
  2380. }
  2381. }
  2382. intStringLen := int(stringLen)
  2383. if intStringLen < 0 {
  2384. return ErrInvalidLengthAppBlink
  2385. }
  2386. postIndex := iNdEx + intStringLen
  2387. if postIndex > l {
  2388. return io.ErrUnexpectedEOF
  2389. }
  2390. m.ParentName = string(dAtA[iNdEx:postIndex])
  2391. iNdEx = postIndex
  2392. default:
  2393. iNdEx = preIndex
  2394. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2395. if err != nil {
  2396. return err
  2397. }
  2398. if skippy < 0 {
  2399. return ErrInvalidLengthAppBlink
  2400. }
  2401. if (iNdEx + skippy) > l {
  2402. return io.ErrUnexpectedEOF
  2403. }
  2404. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2405. iNdEx += skippy
  2406. }
  2407. }
  2408. if iNdEx > l {
  2409. return io.ErrUnexpectedEOF
  2410. }
  2411. return nil
  2412. }
  2413. func (m *GetRoomInfoReq) Unmarshal(dAtA []byte) error {
  2414. l := len(dAtA)
  2415. iNdEx := 0
  2416. for iNdEx < l {
  2417. preIndex := iNdEx
  2418. var wire uint64
  2419. for shift := uint(0); ; shift += 7 {
  2420. if shift >= 64 {
  2421. return ErrIntOverflowAppBlink
  2422. }
  2423. if iNdEx >= l {
  2424. return io.ErrUnexpectedEOF
  2425. }
  2426. b := dAtA[iNdEx]
  2427. iNdEx++
  2428. wire |= (uint64(b) & 0x7F) << shift
  2429. if b < 0x80 {
  2430. break
  2431. }
  2432. }
  2433. fieldNum := int32(wire >> 3)
  2434. wireType := int(wire & 0x7)
  2435. if wireType == 4 {
  2436. return fmt.Errorf("proto: GetRoomInfoReq: wiretype end group for non-group")
  2437. }
  2438. if fieldNum <= 0 {
  2439. return fmt.Errorf("proto: GetRoomInfoReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2440. }
  2441. switch fieldNum {
  2442. case 1:
  2443. if wireType != 2 {
  2444. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2445. }
  2446. var stringLen uint64
  2447. for shift := uint(0); ; shift += 7 {
  2448. if shift >= 64 {
  2449. return ErrIntOverflowAppBlink
  2450. }
  2451. if iNdEx >= l {
  2452. return io.ErrUnexpectedEOF
  2453. }
  2454. b := dAtA[iNdEx]
  2455. iNdEx++
  2456. stringLen |= (uint64(b) & 0x7F) << shift
  2457. if b < 0x80 {
  2458. break
  2459. }
  2460. }
  2461. intStringLen := int(stringLen)
  2462. if intStringLen < 0 {
  2463. return ErrInvalidLengthAppBlink
  2464. }
  2465. postIndex := iNdEx + intStringLen
  2466. if postIndex > l {
  2467. return io.ErrUnexpectedEOF
  2468. }
  2469. m.Platform = string(dAtA[iNdEx:postIndex])
  2470. iNdEx = postIndex
  2471. default:
  2472. iNdEx = preIndex
  2473. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2474. if err != nil {
  2475. return err
  2476. }
  2477. if skippy < 0 {
  2478. return ErrInvalidLengthAppBlink
  2479. }
  2480. if (iNdEx + skippy) > l {
  2481. return io.ErrUnexpectedEOF
  2482. }
  2483. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2484. iNdEx += skippy
  2485. }
  2486. }
  2487. if iNdEx > l {
  2488. return io.ErrUnexpectedEOF
  2489. }
  2490. return nil
  2491. }
  2492. func (m *CreateResp) Unmarshal(dAtA []byte) error {
  2493. l := len(dAtA)
  2494. iNdEx := 0
  2495. for iNdEx < l {
  2496. preIndex := iNdEx
  2497. var wire uint64
  2498. for shift := uint(0); ; shift += 7 {
  2499. if shift >= 64 {
  2500. return ErrIntOverflowAppBlink
  2501. }
  2502. if iNdEx >= l {
  2503. return io.ErrUnexpectedEOF
  2504. }
  2505. b := dAtA[iNdEx]
  2506. iNdEx++
  2507. wire |= (uint64(b) & 0x7F) << shift
  2508. if b < 0x80 {
  2509. break
  2510. }
  2511. }
  2512. fieldNum := int32(wire >> 3)
  2513. wireType := int(wire & 0x7)
  2514. if wireType == 4 {
  2515. return fmt.Errorf("proto: CreateResp: wiretype end group for non-group")
  2516. }
  2517. if fieldNum <= 0 {
  2518. return fmt.Errorf("proto: CreateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2519. }
  2520. switch fieldNum {
  2521. case 1:
  2522. if wireType != 2 {
  2523. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  2524. }
  2525. var stringLen uint64
  2526. for shift := uint(0); ; shift += 7 {
  2527. if shift >= 64 {
  2528. return ErrIntOverflowAppBlink
  2529. }
  2530. if iNdEx >= l {
  2531. return io.ErrUnexpectedEOF
  2532. }
  2533. b := dAtA[iNdEx]
  2534. iNdEx++
  2535. stringLen |= (uint64(b) & 0x7F) << shift
  2536. if b < 0x80 {
  2537. break
  2538. }
  2539. }
  2540. intStringLen := int(stringLen)
  2541. if intStringLen < 0 {
  2542. return ErrInvalidLengthAppBlink
  2543. }
  2544. postIndex := iNdEx + intStringLen
  2545. if postIndex > l {
  2546. return io.ErrUnexpectedEOF
  2547. }
  2548. m.RoomId = string(dAtA[iNdEx:postIndex])
  2549. iNdEx = postIndex
  2550. default:
  2551. iNdEx = preIndex
  2552. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2553. if err != nil {
  2554. return err
  2555. }
  2556. if skippy < 0 {
  2557. return ErrInvalidLengthAppBlink
  2558. }
  2559. if (iNdEx + skippy) > l {
  2560. return io.ErrUnexpectedEOF
  2561. }
  2562. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2563. iNdEx += skippy
  2564. }
  2565. }
  2566. if iNdEx > l {
  2567. return io.ErrUnexpectedEOF
  2568. }
  2569. return nil
  2570. }
  2571. func (m *CreateReq) Unmarshal(dAtA []byte) error {
  2572. l := len(dAtA)
  2573. iNdEx := 0
  2574. for iNdEx < l {
  2575. preIndex := iNdEx
  2576. var wire uint64
  2577. for shift := uint(0); ; shift += 7 {
  2578. if shift >= 64 {
  2579. return ErrIntOverflowAppBlink
  2580. }
  2581. if iNdEx >= l {
  2582. return io.ErrUnexpectedEOF
  2583. }
  2584. b := dAtA[iNdEx]
  2585. iNdEx++
  2586. wire |= (uint64(b) & 0x7F) << shift
  2587. if b < 0x80 {
  2588. break
  2589. }
  2590. }
  2591. fieldNum := int32(wire >> 3)
  2592. wireType := int(wire & 0x7)
  2593. if wireType == 4 {
  2594. return fmt.Errorf("proto: CreateReq: wiretype end group for non-group")
  2595. }
  2596. if fieldNum <= 0 {
  2597. return fmt.Errorf("proto: CreateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2598. }
  2599. switch fieldNum {
  2600. case 1:
  2601. if wireType != 2 {
  2602. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2603. }
  2604. var stringLen uint64
  2605. for shift := uint(0); ; shift += 7 {
  2606. if shift >= 64 {
  2607. return ErrIntOverflowAppBlink
  2608. }
  2609. if iNdEx >= l {
  2610. return io.ErrUnexpectedEOF
  2611. }
  2612. b := dAtA[iNdEx]
  2613. iNdEx++
  2614. stringLen |= (uint64(b) & 0x7F) << shift
  2615. if b < 0x80 {
  2616. break
  2617. }
  2618. }
  2619. intStringLen := int(stringLen)
  2620. if intStringLen < 0 {
  2621. return ErrInvalidLengthAppBlink
  2622. }
  2623. postIndex := iNdEx + intStringLen
  2624. if postIndex > l {
  2625. return io.ErrUnexpectedEOF
  2626. }
  2627. m.Platform = string(dAtA[iNdEx:postIndex])
  2628. iNdEx = postIndex
  2629. default:
  2630. iNdEx = preIndex
  2631. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2632. if err != nil {
  2633. return err
  2634. }
  2635. if skippy < 0 {
  2636. return ErrInvalidLengthAppBlink
  2637. }
  2638. if (iNdEx + skippy) > l {
  2639. return io.ErrUnexpectedEOF
  2640. }
  2641. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2642. iNdEx += skippy
  2643. }
  2644. }
  2645. if iNdEx > l {
  2646. return io.ErrUnexpectedEOF
  2647. }
  2648. return nil
  2649. }
  2650. func (m *GetTopicListReq) Unmarshal(dAtA []byte) error {
  2651. l := len(dAtA)
  2652. iNdEx := 0
  2653. for iNdEx < l {
  2654. preIndex := iNdEx
  2655. var wire uint64
  2656. for shift := uint(0); ; shift += 7 {
  2657. if shift >= 64 {
  2658. return ErrIntOverflowAppBlink
  2659. }
  2660. if iNdEx >= l {
  2661. return io.ErrUnexpectedEOF
  2662. }
  2663. b := dAtA[iNdEx]
  2664. iNdEx++
  2665. wire |= (uint64(b) & 0x7F) << shift
  2666. if b < 0x80 {
  2667. break
  2668. }
  2669. }
  2670. fieldNum := int32(wire >> 3)
  2671. wireType := int(wire & 0x7)
  2672. if wireType == 4 {
  2673. return fmt.Errorf("proto: GetTopicListReq: wiretype end group for non-group")
  2674. }
  2675. if fieldNum <= 0 {
  2676. return fmt.Errorf("proto: GetTopicListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2677. }
  2678. switch fieldNum {
  2679. case 1:
  2680. if wireType != 2 {
  2681. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2682. }
  2683. var stringLen uint64
  2684. for shift := uint(0); ; shift += 7 {
  2685. if shift >= 64 {
  2686. return ErrIntOverflowAppBlink
  2687. }
  2688. if iNdEx >= l {
  2689. return io.ErrUnexpectedEOF
  2690. }
  2691. b := dAtA[iNdEx]
  2692. iNdEx++
  2693. stringLen |= (uint64(b) & 0x7F) << shift
  2694. if b < 0x80 {
  2695. break
  2696. }
  2697. }
  2698. intStringLen := int(stringLen)
  2699. if intStringLen < 0 {
  2700. return ErrInvalidLengthAppBlink
  2701. }
  2702. postIndex := iNdEx + intStringLen
  2703. if postIndex > l {
  2704. return io.ErrUnexpectedEOF
  2705. }
  2706. m.Platform = string(dAtA[iNdEx:postIndex])
  2707. iNdEx = postIndex
  2708. default:
  2709. iNdEx = preIndex
  2710. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2711. if err != nil {
  2712. return err
  2713. }
  2714. if skippy < 0 {
  2715. return ErrInvalidLengthAppBlink
  2716. }
  2717. if (iNdEx + skippy) > l {
  2718. return io.ErrUnexpectedEOF
  2719. }
  2720. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2721. iNdEx += skippy
  2722. }
  2723. }
  2724. if iNdEx > l {
  2725. return io.ErrUnexpectedEOF
  2726. }
  2727. return nil
  2728. }
  2729. func (m *GetTopicListResp) Unmarshal(dAtA []byte) error {
  2730. l := len(dAtA)
  2731. iNdEx := 0
  2732. for iNdEx < l {
  2733. preIndex := iNdEx
  2734. var wire uint64
  2735. for shift := uint(0); ; shift += 7 {
  2736. if shift >= 64 {
  2737. return ErrIntOverflowAppBlink
  2738. }
  2739. if iNdEx >= l {
  2740. return io.ErrUnexpectedEOF
  2741. }
  2742. b := dAtA[iNdEx]
  2743. iNdEx++
  2744. wire |= (uint64(b) & 0x7F) << shift
  2745. if b < 0x80 {
  2746. break
  2747. }
  2748. }
  2749. fieldNum := int32(wire >> 3)
  2750. wireType := int(wire & 0x7)
  2751. if wireType == 4 {
  2752. return fmt.Errorf("proto: GetTopicListResp: wiretype end group for non-group")
  2753. }
  2754. if fieldNum <= 0 {
  2755. return fmt.Errorf("proto: GetTopicListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2756. }
  2757. switch fieldNum {
  2758. case 1:
  2759. if wireType != 2 {
  2760. return fmt.Errorf("proto: wrong wireType = %d for field TopicList", wireType)
  2761. }
  2762. var stringLen uint64
  2763. for shift := uint(0); ; shift += 7 {
  2764. if shift >= 64 {
  2765. return ErrIntOverflowAppBlink
  2766. }
  2767. if iNdEx >= l {
  2768. return io.ErrUnexpectedEOF
  2769. }
  2770. b := dAtA[iNdEx]
  2771. iNdEx++
  2772. stringLen |= (uint64(b) & 0x7F) << shift
  2773. if b < 0x80 {
  2774. break
  2775. }
  2776. }
  2777. intStringLen := int(stringLen)
  2778. if intStringLen < 0 {
  2779. return ErrInvalidLengthAppBlink
  2780. }
  2781. postIndex := iNdEx + intStringLen
  2782. if postIndex > l {
  2783. return io.ErrUnexpectedEOF
  2784. }
  2785. m.TopicList = append(m.TopicList, string(dAtA[iNdEx:postIndex]))
  2786. iNdEx = postIndex
  2787. default:
  2788. iNdEx = preIndex
  2789. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2790. if err != nil {
  2791. return err
  2792. }
  2793. if skippy < 0 {
  2794. return ErrInvalidLengthAppBlink
  2795. }
  2796. if (iNdEx + skippy) > l {
  2797. return io.ErrUnexpectedEOF
  2798. }
  2799. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2800. iNdEx += skippy
  2801. }
  2802. }
  2803. if iNdEx > l {
  2804. return io.ErrUnexpectedEOF
  2805. }
  2806. return nil
  2807. }
  2808. func (m *CheckTopicReq) Unmarshal(dAtA []byte) error {
  2809. l := len(dAtA)
  2810. iNdEx := 0
  2811. for iNdEx < l {
  2812. preIndex := iNdEx
  2813. var wire uint64
  2814. for shift := uint(0); ; shift += 7 {
  2815. if shift >= 64 {
  2816. return ErrIntOverflowAppBlink
  2817. }
  2818. if iNdEx >= l {
  2819. return io.ErrUnexpectedEOF
  2820. }
  2821. b := dAtA[iNdEx]
  2822. iNdEx++
  2823. wire |= (uint64(b) & 0x7F) << shift
  2824. if b < 0x80 {
  2825. break
  2826. }
  2827. }
  2828. fieldNum := int32(wire >> 3)
  2829. wireType := int(wire & 0x7)
  2830. if wireType == 4 {
  2831. return fmt.Errorf("proto: CheckTopicReq: wiretype end group for non-group")
  2832. }
  2833. if fieldNum <= 0 {
  2834. return fmt.Errorf("proto: CheckTopicReq: illegal tag %d (wire type %d)", fieldNum, wire)
  2835. }
  2836. switch fieldNum {
  2837. case 1:
  2838. if wireType != 2 {
  2839. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  2840. }
  2841. var stringLen uint64
  2842. for shift := uint(0); ; shift += 7 {
  2843. if shift >= 64 {
  2844. return ErrIntOverflowAppBlink
  2845. }
  2846. if iNdEx >= l {
  2847. return io.ErrUnexpectedEOF
  2848. }
  2849. b := dAtA[iNdEx]
  2850. iNdEx++
  2851. stringLen |= (uint64(b) & 0x7F) << shift
  2852. if b < 0x80 {
  2853. break
  2854. }
  2855. }
  2856. intStringLen := int(stringLen)
  2857. if intStringLen < 0 {
  2858. return ErrInvalidLengthAppBlink
  2859. }
  2860. postIndex := iNdEx + intStringLen
  2861. if postIndex > l {
  2862. return io.ErrUnexpectedEOF
  2863. }
  2864. m.Platform = string(dAtA[iNdEx:postIndex])
  2865. iNdEx = postIndex
  2866. case 2:
  2867. if wireType != 2 {
  2868. return fmt.Errorf("proto: wrong wireType = %d for field Topic", wireType)
  2869. }
  2870. var stringLen uint64
  2871. for shift := uint(0); ; shift += 7 {
  2872. if shift >= 64 {
  2873. return ErrIntOverflowAppBlink
  2874. }
  2875. if iNdEx >= l {
  2876. return io.ErrUnexpectedEOF
  2877. }
  2878. b := dAtA[iNdEx]
  2879. iNdEx++
  2880. stringLen |= (uint64(b) & 0x7F) << shift
  2881. if b < 0x80 {
  2882. break
  2883. }
  2884. }
  2885. intStringLen := int(stringLen)
  2886. if intStringLen < 0 {
  2887. return ErrInvalidLengthAppBlink
  2888. }
  2889. postIndex := iNdEx + intStringLen
  2890. if postIndex > l {
  2891. return io.ErrUnexpectedEOF
  2892. }
  2893. m.Topic = string(dAtA[iNdEx:postIndex])
  2894. iNdEx = postIndex
  2895. default:
  2896. iNdEx = preIndex
  2897. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2898. if err != nil {
  2899. return err
  2900. }
  2901. if skippy < 0 {
  2902. return ErrInvalidLengthAppBlink
  2903. }
  2904. if (iNdEx + skippy) > l {
  2905. return io.ErrUnexpectedEOF
  2906. }
  2907. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2908. iNdEx += skippy
  2909. }
  2910. }
  2911. if iNdEx > l {
  2912. return io.ErrUnexpectedEOF
  2913. }
  2914. return nil
  2915. }
  2916. func (m *CheckTopicResp) Unmarshal(dAtA []byte) error {
  2917. l := len(dAtA)
  2918. iNdEx := 0
  2919. for iNdEx < l {
  2920. preIndex := iNdEx
  2921. var wire uint64
  2922. for shift := uint(0); ; shift += 7 {
  2923. if shift >= 64 {
  2924. return ErrIntOverflowAppBlink
  2925. }
  2926. if iNdEx >= l {
  2927. return io.ErrUnexpectedEOF
  2928. }
  2929. b := dAtA[iNdEx]
  2930. iNdEx++
  2931. wire |= (uint64(b) & 0x7F) << shift
  2932. if b < 0x80 {
  2933. break
  2934. }
  2935. }
  2936. fieldNum := int32(wire >> 3)
  2937. wireType := int(wire & 0x7)
  2938. if wireType == 4 {
  2939. return fmt.Errorf("proto: CheckTopicResp: wiretype end group for non-group")
  2940. }
  2941. if fieldNum <= 0 {
  2942. return fmt.Errorf("proto: CheckTopicResp: illegal tag %d (wire type %d)", fieldNum, wire)
  2943. }
  2944. switch fieldNum {
  2945. default:
  2946. iNdEx = preIndex
  2947. skippy, err := skipAppBlink(dAtA[iNdEx:])
  2948. if err != nil {
  2949. return err
  2950. }
  2951. if skippy < 0 {
  2952. return ErrInvalidLengthAppBlink
  2953. }
  2954. if (iNdEx + skippy) > l {
  2955. return io.ErrUnexpectedEOF
  2956. }
  2957. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2958. iNdEx += skippy
  2959. }
  2960. }
  2961. if iNdEx > l {
  2962. return io.ErrUnexpectedEOF
  2963. }
  2964. return nil
  2965. }
  2966. func skipAppBlink(dAtA []byte) (n int, err error) {
  2967. l := len(dAtA)
  2968. iNdEx := 0
  2969. for iNdEx < l {
  2970. var wire uint64
  2971. for shift := uint(0); ; shift += 7 {
  2972. if shift >= 64 {
  2973. return 0, ErrIntOverflowAppBlink
  2974. }
  2975. if iNdEx >= l {
  2976. return 0, io.ErrUnexpectedEOF
  2977. }
  2978. b := dAtA[iNdEx]
  2979. iNdEx++
  2980. wire |= (uint64(b) & 0x7F) << shift
  2981. if b < 0x80 {
  2982. break
  2983. }
  2984. }
  2985. wireType := int(wire & 0x7)
  2986. switch wireType {
  2987. case 0:
  2988. for shift := uint(0); ; shift += 7 {
  2989. if shift >= 64 {
  2990. return 0, ErrIntOverflowAppBlink
  2991. }
  2992. if iNdEx >= l {
  2993. return 0, io.ErrUnexpectedEOF
  2994. }
  2995. iNdEx++
  2996. if dAtA[iNdEx-1] < 0x80 {
  2997. break
  2998. }
  2999. }
  3000. return iNdEx, nil
  3001. case 1:
  3002. iNdEx += 8
  3003. return iNdEx, nil
  3004. case 2:
  3005. var length int
  3006. for shift := uint(0); ; shift += 7 {
  3007. if shift >= 64 {
  3008. return 0, ErrIntOverflowAppBlink
  3009. }
  3010. if iNdEx >= l {
  3011. return 0, io.ErrUnexpectedEOF
  3012. }
  3013. b := dAtA[iNdEx]
  3014. iNdEx++
  3015. length |= (int(b) & 0x7F) << shift
  3016. if b < 0x80 {
  3017. break
  3018. }
  3019. }
  3020. iNdEx += length
  3021. if length < 0 {
  3022. return 0, ErrInvalidLengthAppBlink
  3023. }
  3024. return iNdEx, nil
  3025. case 3:
  3026. for {
  3027. var innerWire uint64
  3028. var start int = iNdEx
  3029. for shift := uint(0); ; shift += 7 {
  3030. if shift >= 64 {
  3031. return 0, ErrIntOverflowAppBlink
  3032. }
  3033. if iNdEx >= l {
  3034. return 0, io.ErrUnexpectedEOF
  3035. }
  3036. b := dAtA[iNdEx]
  3037. iNdEx++
  3038. innerWire |= (uint64(b) & 0x7F) << shift
  3039. if b < 0x80 {
  3040. break
  3041. }
  3042. }
  3043. innerWireType := int(innerWire & 0x7)
  3044. if innerWireType == 4 {
  3045. break
  3046. }
  3047. next, err := skipAppBlink(dAtA[start:])
  3048. if err != nil {
  3049. return 0, err
  3050. }
  3051. iNdEx = start + next
  3052. }
  3053. return iNdEx, nil
  3054. case 4:
  3055. return iNdEx, nil
  3056. case 5:
  3057. iNdEx += 4
  3058. return iNdEx, nil
  3059. default:
  3060. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  3061. }
  3062. }
  3063. panic("unreachable")
  3064. }
  3065. var (
  3066. ErrInvalidLengthAppBlink = fmt.Errorf("proto: negative length found during unmarshaling")
  3067. ErrIntOverflowAppBlink = fmt.Errorf("proto: integer overflow")
  3068. )
  3069. func init() { proto.RegisterFile("appBlink.proto", fileDescriptor_appBlink_18a5454854971d18) }
  3070. var fileDescriptor_appBlink_18a5454854971d18 = []byte{
  3071. // 1125 bytes of a gzipped FileDescriptorProto
  3072. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6e, 0xdb, 0x46,
  3073. 0x10, 0x86, 0xfc, 0x23, 0x89, 0x23, 0x45, 0x96, 0xd7, 0x8e, 0xcd, 0xc8, 0x8e, 0xa9, 0xb0, 0x01,
  3074. 0x1c, 0x18, 0x8d, 0xd3, 0x28, 0x3d, 0x19, 0x45, 0x81, 0xc8, 0x45, 0x0d, 0x03, 0x89, 0x6b, 0xac,
  3075. 0xed, 0x14, 0xe8, 0x85, 0xa0, 0xc5, 0x95, 0xcd, 0x9a, 0x14, 0x19, 0x72, 0x29, 0xc8, 0x0f, 0x51,
  3076. 0xa0, 0xf7, 0x3e, 0x44, 0x5f, 0xa3, 0xc7, 0x3e, 0x01, 0x51, 0xf8, 0xc8, 0x63, 0x8e, 0x3d, 0x15,
  3077. 0x3b, 0xcb, 0x3f, 0x5b, 0x72, 0x72, 0xa8, 0x2f, 0xe2, 0xcc, 0x37, 0xbf, 0x3b, 0xfb, 0xed, 0x6a,
  3078. 0xa1, 0x65, 0xfa, 0x7e, 0xdf, 0xb1, 0x47, 0x57, 0xbb, 0x7e, 0xe0, 0x71, 0x8f, 0xb4, 0x1d, 0x7b,
  3079. 0xcc, 0x76, 0x4d, 0xdf, 0x3f, 0x47, 0x70, 0xfc, 0xba, 0xf3, 0xf2, 0xc2, 0xe6, 0x97, 0xd1, 0xf9,
  3080. 0xee, 0xc0, 0x73, 0x5f, 0x5d, 0x78, 0x17, 0xde, 0x2b, 0x74, 0x3c, 0x8f, 0x86, 0xa8, 0xa1, 0x82,
  3081. 0x92, 0x4c, 0xa0, 0xff, 0x56, 0x01, 0x38, 0x60, 0xfc, 0x70, 0x34, 0xf4, 0x28, 0xfb, 0x48, 0xf6,
  3082. 0xa1, 0xee, 0x3b, 0x26, 0x1f, 0x7a, 0x81, 0xab, 0x56, 0xba, 0x95, 0x17, 0x4a, 0x7f, 0xfb, 0x53,
  3083. 0xac, 0x7d, 0x25, 0xf4, 0x3d, 0x3d, 0xb3, 0xe8, 0xdd, 0xb1, 0xe9, 0xd8, 0x96, 0xc9, 0xd9, 0x9e,
  3084. 0x1e, 0xb0, 0x8f, 0x91, 0x1d, 0x30, 0x4b, 0xa7, 0x79, 0x20, 0xd9, 0x83, 0xc5, 0xf3, 0xc8, 0x76,
  3085. 0x2c, 0x75, 0x0e, 0x33, 0x3c, 0xff, 0x14, 0x6b, 0x5d, 0x99, 0x01, 0xe1, 0xd9, 0xe1, 0x32, 0x44,
  3086. 0xff, 0xb7, 0x02, 0x8d, 0xbc, 0x9f, 0xd0, 0x27, 0x6b, 0x30, 0x67, 0x5b, 0xd8, 0xca, 0x7c, 0xbf,
  3087. 0x9a, 0xc4, 0xda, 0x9c, 0x6d, 0xd1, 0x39, 0xdb, 0x22, 0x1a, 0x2c, 0x72, 0x9b, 0x3b, 0x2c, 0xad,
  3088. 0xa1, 0x24, 0xb1, 0x26, 0x01, 0x2a, 0x3f, 0xe4, 0x05, 0xd4, 0x7f, 0x8d, 0x5c, 0xff, 0xd8, 0xe4,
  3089. 0x97, 0xea, 0x3c, 0xfa, 0x34, 0x93, 0x58, 0xcb, 0x31, 0x9a, 0x4b, 0x99, 0xe7, 0xa9, 0xed, 0x32,
  3090. 0x75, 0x01, 0x0b, 0xe5, 0x9e, 0x02, 0xa3, 0xb9, 0x44, 0xbe, 0x85, 0x66, 0x16, 0x75, 0x7a, 0xed,
  3091. 0x33, 0x75, 0x11, 0xbd, 0xdb, 0x49, 0xac, 0xdd, 0xc2, 0xe9, 0x2d, 0x4d, 0xe4, 0xb7, 0x5d, 0xf3,
  3092. 0x82, 0x9d, 0x05, 0x8e, 0x5a, 0x2d, 0x3a, 0xc9, 0x30, 0x9a, 0x4b, 0xfa, 0x0d, 0xc0, 0xd2, 0x01,
  3093. 0xe3, 0xd4, 0xf3, 0xdc, 0x7c, 0x00, 0xcf, 0xa1, 0x16, 0x78, 0x9e, 0x6b, 0xe4, 0x53, 0x68, 0x24,
  3094. 0xb1, 0x96, 0x41, 0xb4, 0x2a, 0x84, 0x43, 0x8b, 0x3c, 0x81, 0xf9, 0xc8, 0x96, 0x03, 0x9f, 0xef,
  3095. 0xd7, 0x92, 0x58, 0x13, 0x2a, 0x15, 0x3f, 0x62, 0x52, 0xd1, 0xc8, 0x74, 0x59, 0x3a, 0x05, 0x9c,
  3096. 0x14, 0x02, 0x54, 0x7e, 0x8a, 0x51, 0x2e, 0xdc, 0x33, 0xca, 0x4d, 0x58, 0x18, 0x9a, 0x03, 0xb9,
  3097. 0x5c, 0xa5, 0x5f, 0x4f, 0x62, 0x0d, 0x75, 0x8a, 0xbf, 0x64, 0x1b, 0xea, 0x3c, 0xb8, 0x36, 0xb8,
  3098. 0x18, 0x5f, 0xad, 0x58, 0x5e, 0x86, 0xd1, 0x1a, 0x0f, 0xae, 0x71, 0x7a, 0xdf, 0x40, 0x43, 0xb0,
  3099. 0xd5, 0x08, 0xb9, 0xc9, 0xa3, 0x50, 0xad, 0x63, 0xaf, 0x4b, 0x49, 0xac, 0x95, 0x61, 0x0a, 0x42,
  3100. 0x39, 0x41, 0x99, 0xf4, 0xa0, 0x69, 0x06, 0xcc, 0x34, 0xc6, 0x3d, 0x03, 0x57, 0xa0, 0x60, 0x7a,
  3101. 0x9c, 0x77, 0x19, 0xa7, 0x20, 0xb4, 0x0f, 0xbd, 0x23, 0xb1, 0x9a, 0xaf, 0x01, 0x32, 0x9b, 0x6d,
  3102. 0xa9, 0x80, 0x45, 0x5a, 0x49, 0xac, 0x95, 0x50, 0x5a, 0x97, 0xfe, 0x87, 0x16, 0x79, 0x03, 0x4d,
  3103. 0xd7, 0x0c, 0x39, 0x0b, 0x0c, 0x87, 0x8d, 0x99, 0xa3, 0x36, 0x8a, 0x1d, 0x2d, 0xe3, 0xb4, 0x21,
  3104. 0xb5, 0x77, 0x42, 0x21, 0x3f, 0x00, 0x29, 0x1b, 0x8d, 0x81, 0xe7, 0x78, 0x81, 0xda, 0xc4, 0xd0,
  3105. 0xb5, 0x24, 0xd6, 0x66, 0x58, 0x69, 0xbb, 0x94, 0x60, 0x5f, 0x20, 0xa5, 0xd2, 0xe1, 0xc0, 0x0b,
  3106. 0x98, 0xfa, 0x68, 0xaa, 0x34, 0xe2, 0x59, 0xe9, 0x13, 0xa1, 0x90, 0xb7, 0xb0, 0x9c, 0x1a, 0x47,
  3107. 0x6c, 0xc2, 0xd3, 0xa6, 0x5b, 0x18, 0xf9, 0x38, 0x89, 0xb5, 0x69, 0x23, 0x5d, 0x92, 0xd0, 0x11,
  3108. 0x9b, 0x70, 0xd9, 0xfd, 0x0e, 0x28, 0xae, 0x39, 0x49, 0x43, 0x97, 0x30, 0xf4, 0x51, 0x12, 0x6b,
  3109. 0x05, 0x48, 0xeb, 0xae, 0x39, 0x91, 0xbe, 0xcf, 0xa0, 0x3a, 0x1c, 0x18, 0xa3, 0xc8, 0x55, 0xdb,
  3110. 0xe8, 0x08, 0x49, 0xac, 0xa5, 0x08, 0x5d, 0x1c, 0x0e, 0x8e, 0x22, 0x57, 0xb0, 0x27, 0x18, 0x78,
  3111. 0x21, 0x57, 0x97, 0xd1, 0x03, 0xd9, 0x83, 0x00, 0x95, 0x1f, 0x5c, 0x27, 0xb3, 0x4c, 0x27, 0xdb,
  3112. 0x77, 0x52, 0x5a, 0x67, 0x09, 0xa7, 0x0d, 0xd4, 0xd2, 0x9d, 0x7f, 0x09, 0x20, 0x8d, 0xb8, 0xef,
  3113. 0x2b, 0xb8, 0xef, 0xb8, 0x8b, 0x05, 0x4a, 0x15, 0x94, 0x71, 0xd3, 0x0f, 0x60, 0x45, 0x1a, 0x02,
  3114. 0x26, 0x4c, 0x59, 0xa9, 0x55, 0x2c, 0xb5, 0x9e, 0xc4, 0xda, 0x2c, 0x33, 0x5d, 0x46, 0x90, 0x22,
  3115. 0x96, 0xd6, 0xdd, 0x86, 0xba, 0x1d, 0x1a, 0x88, 0xab, 0x8f, 0x8b, 0xbb, 0x20, 0xc3, 0x68, 0xcd,
  3116. 0x0e, 0xdf, 0x0b, 0x41, 0x4c, 0x71, 0x18, 0x39, 0x8e, 0xc1, 0xd9, 0x84, 0xab, 0x6b, 0xd8, 0x1f,
  3117. 0x4e, 0x31, 0x07, 0x69, 0x5d, 0x88, 0xa7, 0x6c, 0xc2, 0xc9, 0x77, 0xb0, 0x64, 0x5b, 0x6c, 0xc4,
  3118. 0xed, 0xe1, 0x75, 0xd6, 0xd9, 0x3a, 0xe6, 0x5e, 0x49, 0x62, 0xed, 0xae, 0x89, 0xb6, 0x32, 0x20,
  3119. 0x6d, 0x49, 0x1c, 0x1b, 0x6f, 0x70, 0x95, 0x45, 0xaa, 0xa5, 0x63, 0x53, 0xc0, 0x14, 0x84, 0x92,
  3120. 0x46, 0xec, 0x80, 0x82, 0x26, 0x3c, 0x92, 0x4f, 0x8a, 0xde, 0x72, 0x90, 0xd6, 0x85, 0x88, 0x87,
  3121. 0xf2, 0x7b, 0x68, 0x7b, 0x3e, 0x1b, 0xc9, 0xe5, 0xa5, 0xa4, 0xe8, 0x60, 0x89, 0xd5, 0x24, 0xd6,
  3122. 0xa6, 0x6c, 0xb4, 0x25, 0x10, 0x1c, 0x81, 0x64, 0x08, 0x85, 0xf5, 0x29, 0xce, 0xa5, 0x84, 0xde,
  3123. 0xc0, 0x34, 0x1b, 0x49, 0xac, 0xdd, 0xe7, 0x42, 0x57, 0xef, 0x90, 0x53, 0x92, 0x7c, 0x07, 0x14,
  3124. 0xdf, 0x0c, 0xd8, 0x88, 0x8b, 0x13, 0xbc, 0x59, 0x30, 0x34, 0x07, 0x69, 0x5d, 0x8a, 0x87, 0x96,
  3125. 0x98, 0x4e, 0x0a, 0x23, 0x53, 0x9e, 0xe2, 0x6a, 0x71, 0x3a, 0x25, 0x98, 0x82, 0x54, 0x04, 0x57,
  3126. 0xf4, 0x33, 0x68, 0xdd, 0xba, 0x63, 0x1f, 0xe6, 0x4f, 0x4f, 0xef, 0x01, 0xec, 0x07, 0xcc, 0xe4,
  3127. 0x6c, 0xd6, 0xad, 0xad, 0xcc, 0xbc, 0xb5, 0xf5, 0x63, 0x50, 0xb2, 0x98, 0x07, 0xea, 0xe2, 0x03,
  3128. 0xfe, 0x81, 0x9c, 0x7a, 0xbe, 0x3d, 0x78, 0x67, 0x87, 0xfc, 0xc1, 0xf2, 0xbe, 0x85, 0xf6, 0xed,
  3129. 0xbc, 0xa1, 0x2f, 0xce, 0x28, 0x17, 0x80, 0xe1, 0xd8, 0x21, 0x57, 0x2b, 0xdd, 0xf9, 0xec, 0x8c,
  3130. 0x16, 0x28, 0x55, 0x78, 0x16, 0xa2, 0xff, 0x5e, 0x81, 0x47, 0xfb, 0x97, 0x6c, 0x70, 0x85, 0x59,
  3131. 0x1e, 0xf2, 0xb1, 0x81, 0x35, 0xa6, 0x1f, 0x1b, 0x08, 0xdf, 0xf3, 0xd8, 0x90, 0xb6, 0x36, 0xb4,
  3132. 0xca, 0x1d, 0x85, 0x7e, 0xef, 0x18, 0xaa, 0x27, 0xbe, 0x63, 0x86, 0x97, 0xe4, 0x47, 0xa8, 0xa5,
  3133. 0xef, 0x10, 0xb2, 0xb9, 0x7b, 0xf7, 0x95, 0xb5, 0x5b, 0x3c, 0x99, 0x3a, 0x4f, 0x3f, 0x63, 0x0d,
  3134. 0xfd, 0xde, 0xcf, 0x50, 0xed, 0x9b, 0xa3, 0x11, 0x0b, 0xc8, 0x7b, 0x24, 0x1e, 0xbe, 0xde, 0x52,
  3135. 0xe4, 0x7f, 0x25, 0xfe, 0xa3, 0x02, 0x0b, 0x82, 0xc5, 0xe4, 0xa8, 0xe8, 0xb4, 0x3b, 0x33, 0xa4,
  3136. 0xc4, 0xf5, 0xce, 0xb3, 0x2f, 0x78, 0x84, 0x3e, 0xd9, 0x87, 0xaa, 0x64, 0x25, 0xd9, 0x98, 0x76,
  3137. 0xce, 0xf9, 0xda, 0xd9, 0xbc, 0xdf, 0x18, 0xfa, 0xbd, 0x3f, 0x2b, 0xb0, 0x88, 0x63, 0x25, 0x67,
  3138. 0xd0, 0x2c, 0x53, 0x87, 0xcc, 0xee, 0xa0, 0x4c, 0xd9, 0x8e, 0xfe, 0x25, 0x97, 0xd0, 0x27, 0x3f,
  3139. 0x01, 0x14, 0x7b, 0x47, 0xb4, 0x19, 0xcd, 0x94, 0xb9, 0xd6, 0xe9, 0x7e, 0xde, 0x21, 0xf4, 0xfb,
  3140. 0xed, 0xbf, 0x6e, 0xb6, 0x2a, 0x7f, 0xdf, 0x6c, 0x55, 0xfe, 0xb9, 0xd9, 0xaa, 0xfc, 0x32, 0x37,
  3141. 0x7e, 0x7d, 0x5e, 0xc5, 0x27, 0xf2, 0x9b, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x30, 0xe6, 0x80,
  3142. 0xd9, 0x75, 0x0b, 0x00, 0x00,
  3143. }