chat_grpc.pb.go 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891
  1. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
  2. package chat
  3. import (
  4. context "context"
  5. common "git.ikuban.com/server/pw-protobuf/api/common"
  6. grpc "google.golang.org/grpc"
  7. codes "google.golang.org/grpc/codes"
  8. status "google.golang.org/grpc/status"
  9. emptypb "google.golang.org/protobuf/types/known/emptypb"
  10. )
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the grpc package it is being compiled against.
  13. // Requires gRPC-Go v1.32.0 or later.
  14. const _ = grpc.SupportPackageIsVersion7
  15. // ChatClient is the client API for Chat service.
  16. //
  17. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
  18. type ChatClient interface {
  19. // 检查用户是否与接待员聊天
  20. CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error)
  21. // 创建聊天房间
  22. CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error)
  23. // 查询在线人的列表
  24. FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  25. // 查询推荐人的列表
  26. FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error)
  27. // 接待员查询房间列表
  28. PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error)
  29. // 用户查询房间列表
  30. UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error)
  31. // websocket调用
  32. Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error)
  33. // 查询聊天记录
  34. FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  35. // 房间信息
  36. FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error)
  37. // 拉黑
  38. SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  39. // 删除房间
  40. DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  41. // 拉黑
  42. Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  43. // 房间信息
  44. FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
  45. // 创建纸条
  46. CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  47. // 删除纸条
  48. DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  49. // 查询自己的小纸条
  50. FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  51. // 查询别人的小纸条
  52. FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  53. // 查询随机纸条列表
  54. FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  55. // 用户查看纸条
  56. PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  57. // 用户点击回看
  58. PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
  59. // 回复小纸条
  60. PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  61. // 获取假弹窗
  62. GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error)
  63. // 随机匹配
  64. GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error)
  65. // 随机匹配接待员
  66. GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  67. // 精确匹配用户
  68. AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error)
  69. // 接待员收藏某条记录
  70. PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  71. // 接待员取消收藏某条记录
  72. PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  73. // 查询接待员在本房间的收藏列表
  74. FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  75. // 用户解锁语音
  76. UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  77. // 用户解锁图片
  78. UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  79. // 获取房间的接待员收益
  80. GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error)
  81. // 获取在线人数
  82. GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error)
  83. // 查询用户全部的未读数
  84. FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error)
  85. // 用户查询与某人的房间
  86. GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error)
  87. // 用户查询对某人是否是超级喜欢
  88. GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error)
  89. // 管理员查询房间列表
  90. ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error)
  91. // 管理员查询聊天记录
  92. ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error)
  93. // 管理员查询纸条列表
  94. ManagerFindScripList(ctx context.Context, in *common.ManagerFindScripListRequest, opts ...grpc.CallOption) (*common.ManagerScripReply, error)
  95. // 管理员更新纸条文字
  96. ManagerUpdateScripText(ctx context.Context, in *common.ManagerUpdateScripTextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  97. // 管理员更新纸条图片
  98. ManagerUpdateScripPicture(ctx context.Context, in *common.ManagerUpdateScripPictureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  99. // 管理员删除纸条
  100. ManagerDeleteScrip(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  101. // 管理员查询举报列表
  102. ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error)
  103. // 管理员查询某个举报者的举报详情列表
  104. ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error)
  105. // 用户被拉黑后删除精选中的小纸条
  106. DeleteScripByPersonID(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error)
  107. // 发送消息
  108. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error)
  109. // 发送消息 new
  110. Send(ctx context.Context, in *common.SendMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  111. // 获取到后将对应数据变为已读
  112. GetIsRead(ctx context.Context, in *common.ChatIsReadInfo, opts ...grpc.CallOption) (*emptypb.Empty, error)
  113. // 用户进入房间
  114. GotoRoom(ctx context.Context, in *common.GoToRoom, opts ...grpc.CallOption) (*emptypb.Empty, error)
  115. }
  116. type chatClient struct {
  117. cc grpc.ClientConnInterface
  118. }
  119. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  120. return &chatClient{cc}
  121. }
  122. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  123. out := new(CheckUserPartnerIsRelationshipReply)
  124. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  125. if err != nil {
  126. return nil, err
  127. }
  128. return out, nil
  129. }
  130. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  131. out := new(RoomReply)
  132. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  133. if err != nil {
  134. return nil, err
  135. }
  136. return out, nil
  137. }
  138. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  139. out := new(common.RecommendPersonListReply)
  140. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  141. if err != nil {
  142. return nil, err
  143. }
  144. return out, nil
  145. }
  146. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  147. out := new(common.RecommendPersonListReply)
  148. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  149. if err != nil {
  150. return nil, err
  151. }
  152. return out, nil
  153. }
  154. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  155. out := new(PartnerFindRoomListReply)
  156. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  157. if err != nil {
  158. return nil, err
  159. }
  160. return out, nil
  161. }
  162. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  163. out := new(UserFindRoomListReply)
  164. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  165. if err != nil {
  166. return nil, err
  167. }
  168. return out, nil
  169. }
  170. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  171. out := new(ReceiveReply)
  172. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  173. if err != nil {
  174. return nil, err
  175. }
  176. return out, nil
  177. }
  178. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  179. out := new(common.ChatRecordListReply)
  180. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  181. if err != nil {
  182. return nil, err
  183. }
  184. return out, nil
  185. }
  186. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  187. out := new(common.ChatRoomMsg)
  188. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  189. if err != nil {
  190. return nil, err
  191. }
  192. return out, nil
  193. }
  194. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  195. out := new(emptypb.Empty)
  196. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  197. if err != nil {
  198. return nil, err
  199. }
  200. return out, nil
  201. }
  202. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  203. out := new(emptypb.Empty)
  204. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  205. if err != nil {
  206. return nil, err
  207. }
  208. return out, nil
  209. }
  210. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  211. out := new(emptypb.Empty)
  212. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  213. if err != nil {
  214. return nil, err
  215. }
  216. return out, nil
  217. }
  218. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  219. out := new(common.RoomChatMsg)
  220. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  221. if err != nil {
  222. return nil, err
  223. }
  224. return out, nil
  225. }
  226. func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  227. out := new(common.ScripID)
  228. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
  229. if err != nil {
  230. return nil, err
  231. }
  232. return out, nil
  233. }
  234. func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  235. out := new(emptypb.Empty)
  236. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
  237. if err != nil {
  238. return nil, err
  239. }
  240. return out, nil
  241. }
  242. func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  243. out := new(common.ScripReply)
  244. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
  245. if err != nil {
  246. return nil, err
  247. }
  248. return out, nil
  249. }
  250. func (c *chatClient) FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  251. out := new(common.ScripReply)
  252. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOtherScrip", in, out, opts...)
  253. if err != nil {
  254. return nil, err
  255. }
  256. return out, nil
  257. }
  258. func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  259. out := new(common.ScripReply)
  260. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
  261. if err != nil {
  262. return nil, err
  263. }
  264. return out, nil
  265. }
  266. func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  267. out := new(emptypb.Empty)
  268. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
  269. if err != nil {
  270. return nil, err
  271. }
  272. return out, nil
  273. }
  274. func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  275. out := new(common.ScripInfo)
  276. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
  277. if err != nil {
  278. return nil, err
  279. }
  280. return out, nil
  281. }
  282. func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  283. out := new(common.ChatRecordInfo)
  284. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
  285. if err != nil {
  286. return nil, err
  287. }
  288. return out, nil
  289. }
  290. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error) {
  291. out := new(WindowInfo)
  292. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  293. if err != nil {
  294. return nil, err
  295. }
  296. return out, nil
  297. }
  298. func (c *chatClient) GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error) {
  299. out := new(GetRandomMatchingReply)
  300. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRandomMatching", in, out, opts...)
  301. if err != nil {
  302. return nil, err
  303. }
  304. return out, nil
  305. }
  306. func (c *chatClient) GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  307. out := new(common.GetMatchingPartnerInfoReply)
  308. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetMatchingPartnerInfo", in, out, opts...)
  309. if err != nil {
  310. return nil, err
  311. }
  312. return out, nil
  313. }
  314. func (c *chatClient) AccurateMatchingUserInfo(ctx context.Context, in *AccurateMatchingUserInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  315. out := new(common.GetMatchingPartnerInfoReply)
  316. err := c.cc.Invoke(ctx, "/api.chat.Chat/AccurateMatchingUserInfo", in, out, opts...)
  317. if err != nil {
  318. return nil, err
  319. }
  320. return out, nil
  321. }
  322. func (c *chatClient) PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  323. out := new(emptypb.Empty)
  324. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerCollect", in, out, opts...)
  325. if err != nil {
  326. return nil, err
  327. }
  328. return out, nil
  329. }
  330. func (c *chatClient) PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  331. out := new(emptypb.Empty)
  332. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerDeleteCollect", in, out, opts...)
  333. if err != nil {
  334. return nil, err
  335. }
  336. return out, nil
  337. }
  338. func (c *chatClient) FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  339. out := new(common.ChatRecordListReply)
  340. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatCollectList", in, out, opts...)
  341. if err != nil {
  342. return nil, err
  343. }
  344. return out, nil
  345. }
  346. func (c *chatClient) UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  347. out := new(emptypb.Empty)
  348. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockVoice", in, out, opts...)
  349. if err != nil {
  350. return nil, err
  351. }
  352. return out, nil
  353. }
  354. func (c *chatClient) UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  355. out := new(emptypb.Empty)
  356. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockPicture", in, out, opts...)
  357. if err != nil {
  358. return nil, err
  359. }
  360. return out, nil
  361. }
  362. func (c *chatClient) GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error) {
  363. out := new(GetRoomProfitReply)
  364. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRoomProfit", in, out, opts...)
  365. if err != nil {
  366. return nil, err
  367. }
  368. return out, nil
  369. }
  370. func (c *chatClient) GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error) {
  371. out := new(GetOnlinePersonNumReply)
  372. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetOnlinePersonNum", in, out, opts...)
  373. if err != nil {
  374. return nil, err
  375. }
  376. return out, nil
  377. }
  378. func (c *chatClient) FindUserAllUnreadNum(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*UnreadNumReply, error) {
  379. out := new(UnreadNumReply)
  380. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindUserAllUnreadNum", in, out, opts...)
  381. if err != nil {
  382. return nil, err
  383. }
  384. return out, nil
  385. }
  386. func (c *chatClient) GetUserRoomByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserRoomInfo, error) {
  387. out := new(UserRoomInfo)
  388. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetUserRoomByPerson", in, out, opts...)
  389. if err != nil {
  390. return nil, err
  391. }
  392. return out, nil
  393. }
  394. func (c *chatClient) GetSuperLoveByPerson(ctx context.Context, in *common.UserIDsParam, opts ...grpc.CallOption) (*UserSuperLoveInfo, error) {
  395. out := new(UserSuperLoveInfo)
  396. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetSuperLoveByPerson", in, out, opts...)
  397. if err != nil {
  398. return nil, err
  399. }
  400. return out, nil
  401. }
  402. func (c *chatClient) ManagerFindRoomList(ctx context.Context, in *common.ManagerFindRoomListRequest, opts ...grpc.CallOption) (*common.ManagerFindRoomListReply, error) {
  403. out := new(common.ManagerFindRoomListReply)
  404. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindRoomList", in, out, opts...)
  405. if err != nil {
  406. return nil, err
  407. }
  408. return out, nil
  409. }
  410. func (c *chatClient) ManagerFindChatRecordList(ctx context.Context, in *common.ManagerFindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  411. out := new(common.ChatRecordListReply)
  412. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindChatRecordList", in, out, opts...)
  413. if err != nil {
  414. return nil, err
  415. }
  416. return out, nil
  417. }
  418. func (c *chatClient) ManagerFindScripList(ctx context.Context, in *common.ManagerFindScripListRequest, opts ...grpc.CallOption) (*common.ManagerScripReply, error) {
  419. out := new(common.ManagerScripReply)
  420. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindScripList", in, out, opts...)
  421. if err != nil {
  422. return nil, err
  423. }
  424. return out, nil
  425. }
  426. func (c *chatClient) ManagerUpdateScripText(ctx context.Context, in *common.ManagerUpdateScripTextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  427. out := new(emptypb.Empty)
  428. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerUpdateScripText", in, out, opts...)
  429. if err != nil {
  430. return nil, err
  431. }
  432. return out, nil
  433. }
  434. func (c *chatClient) ManagerUpdateScripPicture(ctx context.Context, in *common.ManagerUpdateScripPictureRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  435. out := new(emptypb.Empty)
  436. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerUpdateScripPicture", in, out, opts...)
  437. if err != nil {
  438. return nil, err
  439. }
  440. return out, nil
  441. }
  442. func (c *chatClient) ManagerDeleteScrip(ctx context.Context, in *common.IDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  443. out := new(emptypb.Empty)
  444. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerDeleteScrip", in, out, opts...)
  445. if err != nil {
  446. return nil, err
  447. }
  448. return out, nil
  449. }
  450. func (c *chatClient) ManagerFindReportList(ctx context.Context, in *common.ManagerFindReportListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportListReply, error) {
  451. out := new(common.ManagerFindReportListReply)
  452. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportList", in, out, opts...)
  453. if err != nil {
  454. return nil, err
  455. }
  456. return out, nil
  457. }
  458. func (c *chatClient) ManagerFindReportDetailsList(ctx context.Context, in *common.ManagerFindReportDetailsListRequest, opts ...grpc.CallOption) (*common.ManagerFindReportDetailsListReply, error) {
  459. out := new(common.ManagerFindReportDetailsListReply)
  460. err := c.cc.Invoke(ctx, "/api.chat.Chat/ManagerFindReportDetailsList", in, out, opts...)
  461. if err != nil {
  462. return nil, err
  463. }
  464. return out, nil
  465. }
  466. func (c *chatClient) DeleteScripByPersonID(ctx context.Context, in *common.PersonIDParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  467. out := new(emptypb.Empty)
  468. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScripByPersonID", in, out, opts...)
  469. if err != nil {
  470. return nil, err
  471. }
  472. return out, nil
  473. }
  474. func (c *chatClient) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*common.SendMessageReply, error) {
  475. out := new(common.SendMessageReply)
  476. err := c.cc.Invoke(ctx, "/api.chat.Chat/SendMessage", in, out, opts...)
  477. if err != nil {
  478. return nil, err
  479. }
  480. return out, nil
  481. }
  482. func (c *chatClient) Send(ctx context.Context, in *common.SendMessageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  483. out := new(emptypb.Empty)
  484. err := c.cc.Invoke(ctx, "/api.chat.Chat/Send", in, out, opts...)
  485. if err != nil {
  486. return nil, err
  487. }
  488. return out, nil
  489. }
  490. func (c *chatClient) GetIsRead(ctx context.Context, in *common.ChatIsReadInfo, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  491. out := new(emptypb.Empty)
  492. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetIsRead", in, out, opts...)
  493. if err != nil {
  494. return nil, err
  495. }
  496. return out, nil
  497. }
  498. func (c *chatClient) GotoRoom(ctx context.Context, in *common.GoToRoom, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  499. out := new(emptypb.Empty)
  500. err := c.cc.Invoke(ctx, "/api.chat.Chat/GotoRoom", in, out, opts...)
  501. if err != nil {
  502. return nil, err
  503. }
  504. return out, nil
  505. }
  506. // ChatServer is the server API for Chat service.
  507. // All implementations must embed UnimplementedChatServer
  508. // for forward compatibility
  509. type ChatServer interface {
  510. // 检查用户是否与接待员聊天
  511. CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error)
  512. // 创建聊天房间
  513. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  514. // 查询在线人的列表
  515. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  516. // 查询推荐人的列表
  517. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  518. // 接待员查询房间列表
  519. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  520. // 用户查询房间列表
  521. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  522. // websocket调用
  523. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  524. // 查询聊天记录
  525. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  526. // 房间信息
  527. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  528. // 拉黑
  529. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  530. // 删除房间
  531. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  532. // 拉黑
  533. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  534. // 房间信息
  535. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  536. // 创建纸条
  537. CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
  538. // 删除纸条
  539. DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
  540. // 查询自己的小纸条
  541. FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  542. // 查询别人的小纸条
  543. FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error)
  544. // 查询随机纸条列表
  545. FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  546. // 用户查看纸条
  547. PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
  548. // 用户点击回看
  549. PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
  550. // 回复小纸条
  551. PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
  552. // 获取假弹窗
  553. GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error)
  554. // 随机匹配
  555. GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error)
  556. // 随机匹配接待员
  557. GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  558. // 精确匹配用户
  559. AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  560. // 接待员收藏某条记录
  561. PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error)
  562. // 接待员取消收藏某条记录
  563. PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error)
  564. // 查询接待员在本房间的收藏列表
  565. FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  566. // 用户解锁语音
  567. UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  568. // 用户解锁图片
  569. UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  570. // 获取房间的接待员收益
  571. GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error)
  572. // 获取在线人数
  573. GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error)
  574. // 查询用户全部的未读数
  575. FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error)
  576. // 用户查询与某人的房间
  577. GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error)
  578. // 用户查询对某人是否是超级喜欢
  579. GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error)
  580. // 管理员查询房间列表
  581. ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error)
  582. // 管理员查询聊天记录
  583. ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error)
  584. // 管理员查询纸条列表
  585. ManagerFindScripList(context.Context, *common.ManagerFindScripListRequest) (*common.ManagerScripReply, error)
  586. // 管理员更新纸条文字
  587. ManagerUpdateScripText(context.Context, *common.ManagerUpdateScripTextRequest) (*emptypb.Empty, error)
  588. // 管理员更新纸条图片
  589. ManagerUpdateScripPicture(context.Context, *common.ManagerUpdateScripPictureRequest) (*emptypb.Empty, error)
  590. // 管理员删除纸条
  591. ManagerDeleteScrip(context.Context, *common.IDParam) (*emptypb.Empty, error)
  592. // 管理员查询举报列表
  593. ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error)
  594. // 管理员查询某个举报者的举报详情列表
  595. ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error)
  596. // 用户被拉黑后删除精选中的小纸条
  597. DeleteScripByPersonID(context.Context, *common.PersonIDParam) (*emptypb.Empty, error)
  598. // 发送消息
  599. SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error)
  600. // 发送消息 new
  601. Send(context.Context, *common.SendMessageRequest) (*emptypb.Empty, error)
  602. // 获取到后将对应数据变为已读
  603. GetIsRead(context.Context, *common.ChatIsReadInfo) (*emptypb.Empty, error)
  604. // 用户进入房间
  605. GotoRoom(context.Context, *common.GoToRoom) (*emptypb.Empty, error)
  606. mustEmbedUnimplementedChatServer()
  607. }
  608. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  609. type UnimplementedChatServer struct {
  610. }
  611. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserIDsParam) (*CheckUserPartnerIsRelationshipReply, error) {
  612. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  613. }
  614. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  615. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  616. }
  617. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  618. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  619. }
  620. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  621. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  622. }
  623. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  624. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  625. }
  626. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  627. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  628. }
  629. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  630. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  631. }
  632. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  633. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  634. }
  635. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  636. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  637. }
  638. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  639. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  640. }
  641. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  642. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  643. }
  644. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  645. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  646. }
  647. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  648. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  649. }
  650. func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
  651. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  652. }
  653. func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
  654. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  655. }
  656. func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  657. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  658. }
  659. func (UnimplementedChatServer) FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error) {
  660. return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
  661. }
  662. func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  663. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  664. }
  665. func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
  666. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  667. }
  668. func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
  669. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  670. }
  671. func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
  672. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  673. }
  674. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error) {
  675. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  676. }
  677. func (UnimplementedChatServer) GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error) {
  678. return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
  679. }
  680. func (UnimplementedChatServer) GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  681. return nil, status.Errorf(codes.Unimplemented, "method GetMatchingPartnerInfo not implemented")
  682. }
  683. func (UnimplementedChatServer) AccurateMatchingUserInfo(context.Context, *AccurateMatchingUserInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  684. return nil, status.Errorf(codes.Unimplemented, "method AccurateMatchingUserInfo not implemented")
  685. }
  686. func (UnimplementedChatServer) PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error) {
  687. return nil, status.Errorf(codes.Unimplemented, "method PartnerCollect not implemented")
  688. }
  689. func (UnimplementedChatServer) PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error) {
  690. return nil, status.Errorf(codes.Unimplemented, "method PartnerDeleteCollect not implemented")
  691. }
  692. func (UnimplementedChatServer) FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  693. return nil, status.Errorf(codes.Unimplemented, "method FindChatCollectList not implemented")
  694. }
  695. func (UnimplementedChatServer) UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  696. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockVoice not implemented")
  697. }
  698. func (UnimplementedChatServer) UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  699. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockPicture not implemented")
  700. }
  701. func (UnimplementedChatServer) GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error) {
  702. return nil, status.Errorf(codes.Unimplemented, "method GetRoomProfit not implemented")
  703. }
  704. func (UnimplementedChatServer) GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error) {
  705. return nil, status.Errorf(codes.Unimplemented, "method GetOnlinePersonNum not implemented")
  706. }
  707. func (UnimplementedChatServer) FindUserAllUnreadNum(context.Context, *common.PersonIDParam) (*UnreadNumReply, error) {
  708. return nil, status.Errorf(codes.Unimplemented, "method FindUserAllUnreadNum not implemented")
  709. }
  710. func (UnimplementedChatServer) GetUserRoomByPerson(context.Context, *common.UserIDsParam) (*UserRoomInfo, error) {
  711. return nil, status.Errorf(codes.Unimplemented, "method GetUserRoomByPerson not implemented")
  712. }
  713. func (UnimplementedChatServer) GetSuperLoveByPerson(context.Context, *common.UserIDsParam) (*UserSuperLoveInfo, error) {
  714. return nil, status.Errorf(codes.Unimplemented, "method GetSuperLoveByPerson not implemented")
  715. }
  716. func (UnimplementedChatServer) ManagerFindRoomList(context.Context, *common.ManagerFindRoomListRequest) (*common.ManagerFindRoomListReply, error) {
  717. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindRoomList not implemented")
  718. }
  719. func (UnimplementedChatServer) ManagerFindChatRecordList(context.Context, *common.ManagerFindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  720. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindChatRecordList not implemented")
  721. }
  722. func (UnimplementedChatServer) ManagerFindScripList(context.Context, *common.ManagerFindScripListRequest) (*common.ManagerScripReply, error) {
  723. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindScripList not implemented")
  724. }
  725. func (UnimplementedChatServer) ManagerUpdateScripText(context.Context, *common.ManagerUpdateScripTextRequest) (*emptypb.Empty, error) {
  726. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateScripText not implemented")
  727. }
  728. func (UnimplementedChatServer) ManagerUpdateScripPicture(context.Context, *common.ManagerUpdateScripPictureRequest) (*emptypb.Empty, error) {
  729. return nil, status.Errorf(codes.Unimplemented, "method ManagerUpdateScripPicture not implemented")
  730. }
  731. func (UnimplementedChatServer) ManagerDeleteScrip(context.Context, *common.IDParam) (*emptypb.Empty, error) {
  732. return nil, status.Errorf(codes.Unimplemented, "method ManagerDeleteScrip not implemented")
  733. }
  734. func (UnimplementedChatServer) ManagerFindReportList(context.Context, *common.ManagerFindReportListRequest) (*common.ManagerFindReportListReply, error) {
  735. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportList not implemented")
  736. }
  737. func (UnimplementedChatServer) ManagerFindReportDetailsList(context.Context, *common.ManagerFindReportDetailsListRequest) (*common.ManagerFindReportDetailsListReply, error) {
  738. return nil, status.Errorf(codes.Unimplemented, "method ManagerFindReportDetailsList not implemented")
  739. }
  740. func (UnimplementedChatServer) DeleteScripByPersonID(context.Context, *common.PersonIDParam) (*emptypb.Empty, error) {
  741. return nil, status.Errorf(codes.Unimplemented, "method DeleteScripByPersonID not implemented")
  742. }
  743. func (UnimplementedChatServer) SendMessage(context.Context, *SendMessageRequest) (*common.SendMessageReply, error) {
  744. return nil, status.Errorf(codes.Unimplemented, "method SendMessage not implemented")
  745. }
  746. func (UnimplementedChatServer) Send(context.Context, *common.SendMessageRequest) (*emptypb.Empty, error) {
  747. return nil, status.Errorf(codes.Unimplemented, "method Send not implemented")
  748. }
  749. func (UnimplementedChatServer) GetIsRead(context.Context, *common.ChatIsReadInfo) (*emptypb.Empty, error) {
  750. return nil, status.Errorf(codes.Unimplemented, "method GetIsRead not implemented")
  751. }
  752. func (UnimplementedChatServer) GotoRoom(context.Context, *common.GoToRoom) (*emptypb.Empty, error) {
  753. return nil, status.Errorf(codes.Unimplemented, "method GotoRoom not implemented")
  754. }
  755. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  756. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  757. // Use of this interface is not recommended, as added methods to ChatServer will
  758. // result in compilation errors.
  759. type UnsafeChatServer interface {
  760. mustEmbedUnimplementedChatServer()
  761. }
  762. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  763. s.RegisterService(&Chat_ServiceDesc, srv)
  764. }
  765. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  766. in := new(common.UserIDsParam)
  767. if err := dec(in); err != nil {
  768. return nil, err
  769. }
  770. if interceptor == nil {
  771. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  772. }
  773. info := &grpc.UnaryServerInfo{
  774. Server: srv,
  775. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  776. }
  777. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  778. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserIDsParam))
  779. }
  780. return interceptor(ctx, in, info, handler)
  781. }
  782. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  783. in := new(CreateChatRoomParam)
  784. if err := dec(in); err != nil {
  785. return nil, err
  786. }
  787. if interceptor == nil {
  788. return srv.(ChatServer).CreateChatRoom(ctx, in)
  789. }
  790. info := &grpc.UnaryServerInfo{
  791. Server: srv,
  792. FullMethod: "/api.chat.Chat/CreateChatRoom",
  793. }
  794. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  795. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  796. }
  797. return interceptor(ctx, in, info, handler)
  798. }
  799. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  800. in := new(common.ListPageAndPersonRequest)
  801. if err := dec(in); err != nil {
  802. return nil, err
  803. }
  804. if interceptor == nil {
  805. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  806. }
  807. info := &grpc.UnaryServerInfo{
  808. Server: srv,
  809. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  810. }
  811. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  812. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  813. }
  814. return interceptor(ctx, in, info, handler)
  815. }
  816. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  817. in := new(FindRecommendPersonListRequest)
  818. if err := dec(in); err != nil {
  819. return nil, err
  820. }
  821. if interceptor == nil {
  822. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  823. }
  824. info := &grpc.UnaryServerInfo{
  825. Server: srv,
  826. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  827. }
  828. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  829. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  830. }
  831. return interceptor(ctx, in, info, handler)
  832. }
  833. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  834. in := new(PartnerFindRoomListRequest)
  835. if err := dec(in); err != nil {
  836. return nil, err
  837. }
  838. if interceptor == nil {
  839. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  840. }
  841. info := &grpc.UnaryServerInfo{
  842. Server: srv,
  843. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  844. }
  845. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  846. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  847. }
  848. return interceptor(ctx, in, info, handler)
  849. }
  850. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  851. in := new(UserFindRoomListRequest)
  852. if err := dec(in); err != nil {
  853. return nil, err
  854. }
  855. if interceptor == nil {
  856. return srv.(ChatServer).UserFindRoomList(ctx, in)
  857. }
  858. info := &grpc.UnaryServerInfo{
  859. Server: srv,
  860. FullMethod: "/api.chat.Chat/UserFindRoomList",
  861. }
  862. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  863. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  864. }
  865. return interceptor(ctx, in, info, handler)
  866. }
  867. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  868. in := new(ReceiveRequest)
  869. if err := dec(in); err != nil {
  870. return nil, err
  871. }
  872. if interceptor == nil {
  873. return srv.(ChatServer).Receive(ctx, in)
  874. }
  875. info := &grpc.UnaryServerInfo{
  876. Server: srv,
  877. FullMethod: "/api.chat.Chat/Receive",
  878. }
  879. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  880. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  881. }
  882. return interceptor(ctx, in, info, handler)
  883. }
  884. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  885. in := new(FindChatRecordListRequest)
  886. if err := dec(in); err != nil {
  887. return nil, err
  888. }
  889. if interceptor == nil {
  890. return srv.(ChatServer).FindChatRecordList(ctx, in)
  891. }
  892. info := &grpc.UnaryServerInfo{
  893. Server: srv,
  894. FullMethod: "/api.chat.Chat/FindChatRecordList",
  895. }
  896. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  897. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  898. }
  899. return interceptor(ctx, in, info, handler)
  900. }
  901. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  902. in := new(FindChatRoomMsgRequest)
  903. if err := dec(in); err != nil {
  904. return nil, err
  905. }
  906. if interceptor == nil {
  907. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  908. }
  909. info := &grpc.UnaryServerInfo{
  910. Server: srv,
  911. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  912. }
  913. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  914. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  915. }
  916. return interceptor(ctx, in, info, handler)
  917. }
  918. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  919. in := new(SetBlackChatParam)
  920. if err := dec(in); err != nil {
  921. return nil, err
  922. }
  923. if interceptor == nil {
  924. return srv.(ChatServer).SetBlackChat(ctx, in)
  925. }
  926. info := &grpc.UnaryServerInfo{
  927. Server: srv,
  928. FullMethod: "/api.chat.Chat/SetBlackChat",
  929. }
  930. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  931. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  932. }
  933. return interceptor(ctx, in, info, handler)
  934. }
  935. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  936. in := new(SetBlackChatParam)
  937. if err := dec(in); err != nil {
  938. return nil, err
  939. }
  940. if interceptor == nil {
  941. return srv.(ChatServer).DeleteChat(ctx, in)
  942. }
  943. info := &grpc.UnaryServerInfo{
  944. Server: srv,
  945. FullMethod: "/api.chat.Chat/DeleteChat",
  946. }
  947. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  948. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  949. }
  950. return interceptor(ctx, in, info, handler)
  951. }
  952. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  953. in := new(common.ReportRequest)
  954. if err := dec(in); err != nil {
  955. return nil, err
  956. }
  957. if interceptor == nil {
  958. return srv.(ChatServer).Report(ctx, in)
  959. }
  960. info := &grpc.UnaryServerInfo{
  961. Server: srv,
  962. FullMethod: "/api.chat.Chat/Report",
  963. }
  964. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  965. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  966. }
  967. return interceptor(ctx, in, info, handler)
  968. }
  969. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  970. in := new(FindRoomCardMsgRequest)
  971. if err := dec(in); err != nil {
  972. return nil, err
  973. }
  974. if interceptor == nil {
  975. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  976. }
  977. info := &grpc.UnaryServerInfo{
  978. Server: srv,
  979. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  980. }
  981. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  982. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  983. }
  984. return interceptor(ctx, in, info, handler)
  985. }
  986. func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  987. in := new(common.CreateScripRequest)
  988. if err := dec(in); err != nil {
  989. return nil, err
  990. }
  991. if interceptor == nil {
  992. return srv.(ChatServer).CreateScrip(ctx, in)
  993. }
  994. info := &grpc.UnaryServerInfo{
  995. Server: srv,
  996. FullMethod: "/api.chat.Chat/CreateScrip",
  997. }
  998. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  999. return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
  1000. }
  1001. return interceptor(ctx, in, info, handler)
  1002. }
  1003. func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1004. in := new(common.DeleteScripRequest)
  1005. if err := dec(in); err != nil {
  1006. return nil, err
  1007. }
  1008. if interceptor == nil {
  1009. return srv.(ChatServer).DeleteScrip(ctx, in)
  1010. }
  1011. info := &grpc.UnaryServerInfo{
  1012. Server: srv,
  1013. FullMethod: "/api.chat.Chat/DeleteScrip",
  1014. }
  1015. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1016. return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
  1017. }
  1018. return interceptor(ctx, in, info, handler)
  1019. }
  1020. func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1021. in := new(common.FindScripRequest)
  1022. if err := dec(in); err != nil {
  1023. return nil, err
  1024. }
  1025. if interceptor == nil {
  1026. return srv.(ChatServer).FindMyScrip(ctx, in)
  1027. }
  1028. info := &grpc.UnaryServerInfo{
  1029. Server: srv,
  1030. FullMethod: "/api.chat.Chat/FindMyScrip",
  1031. }
  1032. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1033. return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
  1034. }
  1035. return interceptor(ctx, in, info, handler)
  1036. }
  1037. func _Chat_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1038. in := new(common.FindOtherScripRequest)
  1039. if err := dec(in); err != nil {
  1040. return nil, err
  1041. }
  1042. if interceptor == nil {
  1043. return srv.(ChatServer).FindOtherScrip(ctx, in)
  1044. }
  1045. info := &grpc.UnaryServerInfo{
  1046. Server: srv,
  1047. FullMethod: "/api.chat.Chat/FindOtherScrip",
  1048. }
  1049. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1050. return srv.(ChatServer).FindOtherScrip(ctx, req.(*common.FindOtherScripRequest))
  1051. }
  1052. return interceptor(ctx, in, info, handler)
  1053. }
  1054. func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1055. in := new(common.FindScripRequest)
  1056. if err := dec(in); err != nil {
  1057. return nil, err
  1058. }
  1059. if interceptor == nil {
  1060. return srv.(ChatServer).FindRecommendScrip(ctx, in)
  1061. }
  1062. info := &grpc.UnaryServerInfo{
  1063. Server: srv,
  1064. FullMethod: "/api.chat.Chat/FindRecommendScrip",
  1065. }
  1066. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1067. return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
  1068. }
  1069. return interceptor(ctx, in, info, handler)
  1070. }
  1071. func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1072. in := new(common.PersonLookScripRequest)
  1073. if err := dec(in); err != nil {
  1074. return nil, err
  1075. }
  1076. if interceptor == nil {
  1077. return srv.(ChatServer).PersonLookScrip(ctx, in)
  1078. }
  1079. info := &grpc.UnaryServerInfo{
  1080. Server: srv,
  1081. FullMethod: "/api.chat.Chat/PersonLookScrip",
  1082. }
  1083. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1084. return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
  1085. }
  1086. return interceptor(ctx, in, info, handler)
  1087. }
  1088. func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1089. in := new(common.PersonParam)
  1090. if err := dec(in); err != nil {
  1091. return nil, err
  1092. }
  1093. if interceptor == nil {
  1094. return srv.(ChatServer).PersonClickLookBack(ctx, in)
  1095. }
  1096. info := &grpc.UnaryServerInfo{
  1097. Server: srv,
  1098. FullMethod: "/api.chat.Chat/PersonClickLookBack",
  1099. }
  1100. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1101. return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
  1102. }
  1103. return interceptor(ctx, in, info, handler)
  1104. }
  1105. func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1106. in := new(common.ReplyScripRequest)
  1107. if err := dec(in); err != nil {
  1108. return nil, err
  1109. }
  1110. if interceptor == nil {
  1111. return srv.(ChatServer).PersonReplyScrip(ctx, in)
  1112. }
  1113. info := &grpc.UnaryServerInfo{
  1114. Server: srv,
  1115. FullMethod: "/api.chat.Chat/PersonReplyScrip",
  1116. }
  1117. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1118. return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
  1119. }
  1120. return interceptor(ctx, in, info, handler)
  1121. }
  1122. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1123. in := new(common.MatchingRequest)
  1124. if err := dec(in); err != nil {
  1125. return nil, err
  1126. }
  1127. if interceptor == nil {
  1128. return srv.(ChatServer).GetWindowInfo(ctx, in)
  1129. }
  1130. info := &grpc.UnaryServerInfo{
  1131. Server: srv,
  1132. FullMethod: "/api.chat.Chat/GetWindowInfo",
  1133. }
  1134. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1135. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.MatchingRequest))
  1136. }
  1137. return interceptor(ctx, in, info, handler)
  1138. }
  1139. func _Chat_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1140. in := new(common.MatchingRequest)
  1141. if err := dec(in); err != nil {
  1142. return nil, err
  1143. }
  1144. if interceptor == nil {
  1145. return srv.(ChatServer).GetRandomMatching(ctx, in)
  1146. }
  1147. info := &grpc.UnaryServerInfo{
  1148. Server: srv,
  1149. FullMethod: "/api.chat.Chat/GetRandomMatching",
  1150. }
  1151. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1152. return srv.(ChatServer).GetRandomMatching(ctx, req.(*common.MatchingRequest))
  1153. }
  1154. return interceptor(ctx, in, info, handler)
  1155. }
  1156. func _Chat_GetMatchingPartnerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1157. in := new(GetMatchingPartnerInfoRequest)
  1158. if err := dec(in); err != nil {
  1159. return nil, err
  1160. }
  1161. if interceptor == nil {
  1162. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, in)
  1163. }
  1164. info := &grpc.UnaryServerInfo{
  1165. Server: srv,
  1166. FullMethod: "/api.chat.Chat/GetMatchingPartnerInfo",
  1167. }
  1168. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1169. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, req.(*GetMatchingPartnerInfoRequest))
  1170. }
  1171. return interceptor(ctx, in, info, handler)
  1172. }
  1173. func _Chat_AccurateMatchingUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1174. in := new(AccurateMatchingUserInfoRequest)
  1175. if err := dec(in); err != nil {
  1176. return nil, err
  1177. }
  1178. if interceptor == nil {
  1179. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, in)
  1180. }
  1181. info := &grpc.UnaryServerInfo{
  1182. Server: srv,
  1183. FullMethod: "/api.chat.Chat/AccurateMatchingUserInfo",
  1184. }
  1185. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1186. return srv.(ChatServer).AccurateMatchingUserInfo(ctx, req.(*AccurateMatchingUserInfoRequest))
  1187. }
  1188. return interceptor(ctx, in, info, handler)
  1189. }
  1190. func _Chat_PartnerCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1191. in := new(PartnerCollectIDsRequest)
  1192. if err := dec(in); err != nil {
  1193. return nil, err
  1194. }
  1195. if interceptor == nil {
  1196. return srv.(ChatServer).PartnerCollect(ctx, in)
  1197. }
  1198. info := &grpc.UnaryServerInfo{
  1199. Server: srv,
  1200. FullMethod: "/api.chat.Chat/PartnerCollect",
  1201. }
  1202. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1203. return srv.(ChatServer).PartnerCollect(ctx, req.(*PartnerCollectIDsRequest))
  1204. }
  1205. return interceptor(ctx, in, info, handler)
  1206. }
  1207. func _Chat_PartnerDeleteCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1208. in := new(PartnerCollectRequest)
  1209. if err := dec(in); err != nil {
  1210. return nil, err
  1211. }
  1212. if interceptor == nil {
  1213. return srv.(ChatServer).PartnerDeleteCollect(ctx, in)
  1214. }
  1215. info := &grpc.UnaryServerInfo{
  1216. Server: srv,
  1217. FullMethod: "/api.chat.Chat/PartnerDeleteCollect",
  1218. }
  1219. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1220. return srv.(ChatServer).PartnerDeleteCollect(ctx, req.(*PartnerCollectRequest))
  1221. }
  1222. return interceptor(ctx, in, info, handler)
  1223. }
  1224. func _Chat_FindChatCollectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1225. in := new(FindChatRecordListRequest)
  1226. if err := dec(in); err != nil {
  1227. return nil, err
  1228. }
  1229. if interceptor == nil {
  1230. return srv.(ChatServer).FindChatCollectList(ctx, in)
  1231. }
  1232. info := &grpc.UnaryServerInfo{
  1233. Server: srv,
  1234. FullMethod: "/api.chat.Chat/FindChatCollectList",
  1235. }
  1236. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1237. return srv.(ChatServer).FindChatCollectList(ctx, req.(*FindChatRecordListRequest))
  1238. }
  1239. return interceptor(ctx, in, info, handler)
  1240. }
  1241. func _Chat_UserUnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1242. in := new(UserUnlockRequest)
  1243. if err := dec(in); err != nil {
  1244. return nil, err
  1245. }
  1246. if interceptor == nil {
  1247. return srv.(ChatServer).UserUnlockVoice(ctx, in)
  1248. }
  1249. info := &grpc.UnaryServerInfo{
  1250. Server: srv,
  1251. FullMethod: "/api.chat.Chat/UserUnlockVoice",
  1252. }
  1253. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1254. return srv.(ChatServer).UserUnlockVoice(ctx, req.(*UserUnlockRequest))
  1255. }
  1256. return interceptor(ctx, in, info, handler)
  1257. }
  1258. func _Chat_UserUnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1259. in := new(UserUnlockRequest)
  1260. if err := dec(in); err != nil {
  1261. return nil, err
  1262. }
  1263. if interceptor == nil {
  1264. return srv.(ChatServer).UserUnlockPicture(ctx, in)
  1265. }
  1266. info := &grpc.UnaryServerInfo{
  1267. Server: srv,
  1268. FullMethod: "/api.chat.Chat/UserUnlockPicture",
  1269. }
  1270. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1271. return srv.(ChatServer).UserUnlockPicture(ctx, req.(*UserUnlockRequest))
  1272. }
  1273. return interceptor(ctx, in, info, handler)
  1274. }
  1275. func _Chat_GetRoomProfit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1276. in := new(common.RoomIDRequest)
  1277. if err := dec(in); err != nil {
  1278. return nil, err
  1279. }
  1280. if interceptor == nil {
  1281. return srv.(ChatServer).GetRoomProfit(ctx, in)
  1282. }
  1283. info := &grpc.UnaryServerInfo{
  1284. Server: srv,
  1285. FullMethod: "/api.chat.Chat/GetRoomProfit",
  1286. }
  1287. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1288. return srv.(ChatServer).GetRoomProfit(ctx, req.(*common.RoomIDRequest))
  1289. }
  1290. return interceptor(ctx, in, info, handler)
  1291. }
  1292. func _Chat_GetOnlinePersonNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1293. in := new(emptypb.Empty)
  1294. if err := dec(in); err != nil {
  1295. return nil, err
  1296. }
  1297. if interceptor == nil {
  1298. return srv.(ChatServer).GetOnlinePersonNum(ctx, in)
  1299. }
  1300. info := &grpc.UnaryServerInfo{
  1301. Server: srv,
  1302. FullMethod: "/api.chat.Chat/GetOnlinePersonNum",
  1303. }
  1304. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1305. return srv.(ChatServer).GetOnlinePersonNum(ctx, req.(*emptypb.Empty))
  1306. }
  1307. return interceptor(ctx, in, info, handler)
  1308. }
  1309. func _Chat_FindUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1310. in := new(common.PersonIDParam)
  1311. if err := dec(in); err != nil {
  1312. return nil, err
  1313. }
  1314. if interceptor == nil {
  1315. return srv.(ChatServer).FindUserAllUnreadNum(ctx, in)
  1316. }
  1317. info := &grpc.UnaryServerInfo{
  1318. Server: srv,
  1319. FullMethod: "/api.chat.Chat/FindUserAllUnreadNum",
  1320. }
  1321. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1322. return srv.(ChatServer).FindUserAllUnreadNum(ctx, req.(*common.PersonIDParam))
  1323. }
  1324. return interceptor(ctx, in, info, handler)
  1325. }
  1326. func _Chat_GetUserRoomByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1327. in := new(common.UserIDsParam)
  1328. if err := dec(in); err != nil {
  1329. return nil, err
  1330. }
  1331. if interceptor == nil {
  1332. return srv.(ChatServer).GetUserRoomByPerson(ctx, in)
  1333. }
  1334. info := &grpc.UnaryServerInfo{
  1335. Server: srv,
  1336. FullMethod: "/api.chat.Chat/GetUserRoomByPerson",
  1337. }
  1338. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1339. return srv.(ChatServer).GetUserRoomByPerson(ctx, req.(*common.UserIDsParam))
  1340. }
  1341. return interceptor(ctx, in, info, handler)
  1342. }
  1343. func _Chat_GetSuperLoveByPerson_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1344. in := new(common.UserIDsParam)
  1345. if err := dec(in); err != nil {
  1346. return nil, err
  1347. }
  1348. if interceptor == nil {
  1349. return srv.(ChatServer).GetSuperLoveByPerson(ctx, in)
  1350. }
  1351. info := &grpc.UnaryServerInfo{
  1352. Server: srv,
  1353. FullMethod: "/api.chat.Chat/GetSuperLoveByPerson",
  1354. }
  1355. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1356. return srv.(ChatServer).GetSuperLoveByPerson(ctx, req.(*common.UserIDsParam))
  1357. }
  1358. return interceptor(ctx, in, info, handler)
  1359. }
  1360. func _Chat_ManagerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1361. in := new(common.ManagerFindRoomListRequest)
  1362. if err := dec(in); err != nil {
  1363. return nil, err
  1364. }
  1365. if interceptor == nil {
  1366. return srv.(ChatServer).ManagerFindRoomList(ctx, in)
  1367. }
  1368. info := &grpc.UnaryServerInfo{
  1369. Server: srv,
  1370. FullMethod: "/api.chat.Chat/ManagerFindRoomList",
  1371. }
  1372. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1373. return srv.(ChatServer).ManagerFindRoomList(ctx, req.(*common.ManagerFindRoomListRequest))
  1374. }
  1375. return interceptor(ctx, in, info, handler)
  1376. }
  1377. func _Chat_ManagerFindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1378. in := new(common.ManagerFindChatRecordListRequest)
  1379. if err := dec(in); err != nil {
  1380. return nil, err
  1381. }
  1382. if interceptor == nil {
  1383. return srv.(ChatServer).ManagerFindChatRecordList(ctx, in)
  1384. }
  1385. info := &grpc.UnaryServerInfo{
  1386. Server: srv,
  1387. FullMethod: "/api.chat.Chat/ManagerFindChatRecordList",
  1388. }
  1389. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1390. return srv.(ChatServer).ManagerFindChatRecordList(ctx, req.(*common.ManagerFindChatRecordListRequest))
  1391. }
  1392. return interceptor(ctx, in, info, handler)
  1393. }
  1394. func _Chat_ManagerFindScripList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1395. in := new(common.ManagerFindScripListRequest)
  1396. if err := dec(in); err != nil {
  1397. return nil, err
  1398. }
  1399. if interceptor == nil {
  1400. return srv.(ChatServer).ManagerFindScripList(ctx, in)
  1401. }
  1402. info := &grpc.UnaryServerInfo{
  1403. Server: srv,
  1404. FullMethod: "/api.chat.Chat/ManagerFindScripList",
  1405. }
  1406. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1407. return srv.(ChatServer).ManagerFindScripList(ctx, req.(*common.ManagerFindScripListRequest))
  1408. }
  1409. return interceptor(ctx, in, info, handler)
  1410. }
  1411. func _Chat_ManagerUpdateScripText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1412. in := new(common.ManagerUpdateScripTextRequest)
  1413. if err := dec(in); err != nil {
  1414. return nil, err
  1415. }
  1416. if interceptor == nil {
  1417. return srv.(ChatServer).ManagerUpdateScripText(ctx, in)
  1418. }
  1419. info := &grpc.UnaryServerInfo{
  1420. Server: srv,
  1421. FullMethod: "/api.chat.Chat/ManagerUpdateScripText",
  1422. }
  1423. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1424. return srv.(ChatServer).ManagerUpdateScripText(ctx, req.(*common.ManagerUpdateScripTextRequest))
  1425. }
  1426. return interceptor(ctx, in, info, handler)
  1427. }
  1428. func _Chat_ManagerUpdateScripPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1429. in := new(common.ManagerUpdateScripPictureRequest)
  1430. if err := dec(in); err != nil {
  1431. return nil, err
  1432. }
  1433. if interceptor == nil {
  1434. return srv.(ChatServer).ManagerUpdateScripPicture(ctx, in)
  1435. }
  1436. info := &grpc.UnaryServerInfo{
  1437. Server: srv,
  1438. FullMethod: "/api.chat.Chat/ManagerUpdateScripPicture",
  1439. }
  1440. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1441. return srv.(ChatServer).ManagerUpdateScripPicture(ctx, req.(*common.ManagerUpdateScripPictureRequest))
  1442. }
  1443. return interceptor(ctx, in, info, handler)
  1444. }
  1445. func _Chat_ManagerDeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1446. in := new(common.IDParam)
  1447. if err := dec(in); err != nil {
  1448. return nil, err
  1449. }
  1450. if interceptor == nil {
  1451. return srv.(ChatServer).ManagerDeleteScrip(ctx, in)
  1452. }
  1453. info := &grpc.UnaryServerInfo{
  1454. Server: srv,
  1455. FullMethod: "/api.chat.Chat/ManagerDeleteScrip",
  1456. }
  1457. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1458. return srv.(ChatServer).ManagerDeleteScrip(ctx, req.(*common.IDParam))
  1459. }
  1460. return interceptor(ctx, in, info, handler)
  1461. }
  1462. func _Chat_ManagerFindReportList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1463. in := new(common.ManagerFindReportListRequest)
  1464. if err := dec(in); err != nil {
  1465. return nil, err
  1466. }
  1467. if interceptor == nil {
  1468. return srv.(ChatServer).ManagerFindReportList(ctx, in)
  1469. }
  1470. info := &grpc.UnaryServerInfo{
  1471. Server: srv,
  1472. FullMethod: "/api.chat.Chat/ManagerFindReportList",
  1473. }
  1474. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1475. return srv.(ChatServer).ManagerFindReportList(ctx, req.(*common.ManagerFindReportListRequest))
  1476. }
  1477. return interceptor(ctx, in, info, handler)
  1478. }
  1479. func _Chat_ManagerFindReportDetailsList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1480. in := new(common.ManagerFindReportDetailsListRequest)
  1481. if err := dec(in); err != nil {
  1482. return nil, err
  1483. }
  1484. if interceptor == nil {
  1485. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, in)
  1486. }
  1487. info := &grpc.UnaryServerInfo{
  1488. Server: srv,
  1489. FullMethod: "/api.chat.Chat/ManagerFindReportDetailsList",
  1490. }
  1491. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1492. return srv.(ChatServer).ManagerFindReportDetailsList(ctx, req.(*common.ManagerFindReportDetailsListRequest))
  1493. }
  1494. return interceptor(ctx, in, info, handler)
  1495. }
  1496. func _Chat_DeleteScripByPersonID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1497. in := new(common.PersonIDParam)
  1498. if err := dec(in); err != nil {
  1499. return nil, err
  1500. }
  1501. if interceptor == nil {
  1502. return srv.(ChatServer).DeleteScripByPersonID(ctx, in)
  1503. }
  1504. info := &grpc.UnaryServerInfo{
  1505. Server: srv,
  1506. FullMethod: "/api.chat.Chat/DeleteScripByPersonID",
  1507. }
  1508. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1509. return srv.(ChatServer).DeleteScripByPersonID(ctx, req.(*common.PersonIDParam))
  1510. }
  1511. return interceptor(ctx, in, info, handler)
  1512. }
  1513. func _Chat_SendMessage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1514. in := new(SendMessageRequest)
  1515. if err := dec(in); err != nil {
  1516. return nil, err
  1517. }
  1518. if interceptor == nil {
  1519. return srv.(ChatServer).SendMessage(ctx, in)
  1520. }
  1521. info := &grpc.UnaryServerInfo{
  1522. Server: srv,
  1523. FullMethod: "/api.chat.Chat/SendMessage",
  1524. }
  1525. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1526. return srv.(ChatServer).SendMessage(ctx, req.(*SendMessageRequest))
  1527. }
  1528. return interceptor(ctx, in, info, handler)
  1529. }
  1530. func _Chat_Send_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1531. in := new(common.SendMessageRequest)
  1532. if err := dec(in); err != nil {
  1533. return nil, err
  1534. }
  1535. if interceptor == nil {
  1536. return srv.(ChatServer).Send(ctx, in)
  1537. }
  1538. info := &grpc.UnaryServerInfo{
  1539. Server: srv,
  1540. FullMethod: "/api.chat.Chat/Send",
  1541. }
  1542. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1543. return srv.(ChatServer).Send(ctx, req.(*common.SendMessageRequest))
  1544. }
  1545. return interceptor(ctx, in, info, handler)
  1546. }
  1547. func _Chat_GetIsRead_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1548. in := new(common.ChatIsReadInfo)
  1549. if err := dec(in); err != nil {
  1550. return nil, err
  1551. }
  1552. if interceptor == nil {
  1553. return srv.(ChatServer).GetIsRead(ctx, in)
  1554. }
  1555. info := &grpc.UnaryServerInfo{
  1556. Server: srv,
  1557. FullMethod: "/api.chat.Chat/GetIsRead",
  1558. }
  1559. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1560. return srv.(ChatServer).GetIsRead(ctx, req.(*common.ChatIsReadInfo))
  1561. }
  1562. return interceptor(ctx, in, info, handler)
  1563. }
  1564. func _Chat_GotoRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1565. in := new(common.GoToRoom)
  1566. if err := dec(in); err != nil {
  1567. return nil, err
  1568. }
  1569. if interceptor == nil {
  1570. return srv.(ChatServer).GotoRoom(ctx, in)
  1571. }
  1572. info := &grpc.UnaryServerInfo{
  1573. Server: srv,
  1574. FullMethod: "/api.chat.Chat/GotoRoom",
  1575. }
  1576. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1577. return srv.(ChatServer).GotoRoom(ctx, req.(*common.GoToRoom))
  1578. }
  1579. return interceptor(ctx, in, info, handler)
  1580. }
  1581. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  1582. // It's only intended for direct use with grpc.RegisterService,
  1583. // and not to be introspected or modified (even as a copy)
  1584. var Chat_ServiceDesc = grpc.ServiceDesc{
  1585. ServiceName: "api.chat.Chat",
  1586. HandlerType: (*ChatServer)(nil),
  1587. Methods: []grpc.MethodDesc{
  1588. {
  1589. MethodName: "CheckUserPartnerIsRelationship",
  1590. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  1591. },
  1592. {
  1593. MethodName: "CreateChatRoom",
  1594. Handler: _Chat_CreateChatRoom_Handler,
  1595. },
  1596. {
  1597. MethodName: "FindOnlinePersonList",
  1598. Handler: _Chat_FindOnlinePersonList_Handler,
  1599. },
  1600. {
  1601. MethodName: "FindRecommendPersonList",
  1602. Handler: _Chat_FindRecommendPersonList_Handler,
  1603. },
  1604. {
  1605. MethodName: "PartnerFindRoomList",
  1606. Handler: _Chat_PartnerFindRoomList_Handler,
  1607. },
  1608. {
  1609. MethodName: "UserFindRoomList",
  1610. Handler: _Chat_UserFindRoomList_Handler,
  1611. },
  1612. {
  1613. MethodName: "Receive",
  1614. Handler: _Chat_Receive_Handler,
  1615. },
  1616. {
  1617. MethodName: "FindChatRecordList",
  1618. Handler: _Chat_FindChatRecordList_Handler,
  1619. },
  1620. {
  1621. MethodName: "FindChatRoomMsg",
  1622. Handler: _Chat_FindChatRoomMsg_Handler,
  1623. },
  1624. {
  1625. MethodName: "SetBlackChat",
  1626. Handler: _Chat_SetBlackChat_Handler,
  1627. },
  1628. {
  1629. MethodName: "DeleteChat",
  1630. Handler: _Chat_DeleteChat_Handler,
  1631. },
  1632. {
  1633. MethodName: "Report",
  1634. Handler: _Chat_Report_Handler,
  1635. },
  1636. {
  1637. MethodName: "FindRoomCardMsg",
  1638. Handler: _Chat_FindRoomCardMsg_Handler,
  1639. },
  1640. {
  1641. MethodName: "CreateScrip",
  1642. Handler: _Chat_CreateScrip_Handler,
  1643. },
  1644. {
  1645. MethodName: "DeleteScrip",
  1646. Handler: _Chat_DeleteScrip_Handler,
  1647. },
  1648. {
  1649. MethodName: "FindMyScrip",
  1650. Handler: _Chat_FindMyScrip_Handler,
  1651. },
  1652. {
  1653. MethodName: "FindOtherScrip",
  1654. Handler: _Chat_FindOtherScrip_Handler,
  1655. },
  1656. {
  1657. MethodName: "FindRecommendScrip",
  1658. Handler: _Chat_FindRecommendScrip_Handler,
  1659. },
  1660. {
  1661. MethodName: "PersonLookScrip",
  1662. Handler: _Chat_PersonLookScrip_Handler,
  1663. },
  1664. {
  1665. MethodName: "PersonClickLookBack",
  1666. Handler: _Chat_PersonClickLookBack_Handler,
  1667. },
  1668. {
  1669. MethodName: "PersonReplyScrip",
  1670. Handler: _Chat_PersonReplyScrip_Handler,
  1671. },
  1672. {
  1673. MethodName: "GetWindowInfo",
  1674. Handler: _Chat_GetWindowInfo_Handler,
  1675. },
  1676. {
  1677. MethodName: "GetRandomMatching",
  1678. Handler: _Chat_GetRandomMatching_Handler,
  1679. },
  1680. {
  1681. MethodName: "GetMatchingPartnerInfo",
  1682. Handler: _Chat_GetMatchingPartnerInfo_Handler,
  1683. },
  1684. {
  1685. MethodName: "AccurateMatchingUserInfo",
  1686. Handler: _Chat_AccurateMatchingUserInfo_Handler,
  1687. },
  1688. {
  1689. MethodName: "PartnerCollect",
  1690. Handler: _Chat_PartnerCollect_Handler,
  1691. },
  1692. {
  1693. MethodName: "PartnerDeleteCollect",
  1694. Handler: _Chat_PartnerDeleteCollect_Handler,
  1695. },
  1696. {
  1697. MethodName: "FindChatCollectList",
  1698. Handler: _Chat_FindChatCollectList_Handler,
  1699. },
  1700. {
  1701. MethodName: "UserUnlockVoice",
  1702. Handler: _Chat_UserUnlockVoice_Handler,
  1703. },
  1704. {
  1705. MethodName: "UserUnlockPicture",
  1706. Handler: _Chat_UserUnlockPicture_Handler,
  1707. },
  1708. {
  1709. MethodName: "GetRoomProfit",
  1710. Handler: _Chat_GetRoomProfit_Handler,
  1711. },
  1712. {
  1713. MethodName: "GetOnlinePersonNum",
  1714. Handler: _Chat_GetOnlinePersonNum_Handler,
  1715. },
  1716. {
  1717. MethodName: "FindUserAllUnreadNum",
  1718. Handler: _Chat_FindUserAllUnreadNum_Handler,
  1719. },
  1720. {
  1721. MethodName: "GetUserRoomByPerson",
  1722. Handler: _Chat_GetUserRoomByPerson_Handler,
  1723. },
  1724. {
  1725. MethodName: "GetSuperLoveByPerson",
  1726. Handler: _Chat_GetSuperLoveByPerson_Handler,
  1727. },
  1728. {
  1729. MethodName: "ManagerFindRoomList",
  1730. Handler: _Chat_ManagerFindRoomList_Handler,
  1731. },
  1732. {
  1733. MethodName: "ManagerFindChatRecordList",
  1734. Handler: _Chat_ManagerFindChatRecordList_Handler,
  1735. },
  1736. {
  1737. MethodName: "ManagerFindScripList",
  1738. Handler: _Chat_ManagerFindScripList_Handler,
  1739. },
  1740. {
  1741. MethodName: "ManagerUpdateScripText",
  1742. Handler: _Chat_ManagerUpdateScripText_Handler,
  1743. },
  1744. {
  1745. MethodName: "ManagerUpdateScripPicture",
  1746. Handler: _Chat_ManagerUpdateScripPicture_Handler,
  1747. },
  1748. {
  1749. MethodName: "ManagerDeleteScrip",
  1750. Handler: _Chat_ManagerDeleteScrip_Handler,
  1751. },
  1752. {
  1753. MethodName: "ManagerFindReportList",
  1754. Handler: _Chat_ManagerFindReportList_Handler,
  1755. },
  1756. {
  1757. MethodName: "ManagerFindReportDetailsList",
  1758. Handler: _Chat_ManagerFindReportDetailsList_Handler,
  1759. },
  1760. {
  1761. MethodName: "DeleteScripByPersonID",
  1762. Handler: _Chat_DeleteScripByPersonID_Handler,
  1763. },
  1764. {
  1765. MethodName: "SendMessage",
  1766. Handler: _Chat_SendMessage_Handler,
  1767. },
  1768. {
  1769. MethodName: "Send",
  1770. Handler: _Chat_Send_Handler,
  1771. },
  1772. {
  1773. MethodName: "GetIsRead",
  1774. Handler: _Chat_GetIsRead_Handler,
  1775. },
  1776. {
  1777. MethodName: "GotoRoom",
  1778. Handler: _Chat_GotoRoom_Handler,
  1779. },
  1780. },
  1781. Streams: []grpc.StreamDesc{},
  1782. Metadata: "chat.proto",
  1783. }