chat_grpc.pb.go 72 KB

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