chat_grpc.pb.go 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395
  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.UserAndPartnerIdentifyIdParam, 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. PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error)
  44. // 房间信息
  45. FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error)
  46. // 查询未处理的数据
  47. FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error)
  48. // 创建纸条
  49. CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error)
  50. // 删除纸条
  51. DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  52. // 查询自己的小纸条
  53. FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  54. // 查询别人的小纸条
  55. FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  56. // 查询随机纸条列表
  57. FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error)
  58. // 用户查看纸条
  59. PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
  60. // 用户点击回看
  61. PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error)
  62. // 回复小纸条
  63. PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error)
  64. // 获取假弹窗
  65. GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error)
  66. // 随机匹配
  67. GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error)
  68. // 随机匹配接待员
  69. GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, 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.IdentifyIdRequest, opts ...grpc.CallOption) (*UnreadNumReply, error)
  86. // 查询接待员全部的未读数
  87. FindPartnerAllUnreadNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*UnreadNumReply, error)
  88. }
  89. type chatClient struct {
  90. cc grpc.ClientConnInterface
  91. }
  92. func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
  93. return &chatClient{cc}
  94. }
  95. func (c *chatClient) CheckUserPartnerIsRelationship(ctx context.Context, in *common.UserAndPartnerIdentifyIdParam, opts ...grpc.CallOption) (*CheckUserPartnerIsRelationshipReply, error) {
  96. out := new(CheckUserPartnerIsRelationshipReply)
  97. err := c.cc.Invoke(ctx, "/api.chat.Chat/CheckUserPartnerIsRelationship", in, out, opts...)
  98. if err != nil {
  99. return nil, err
  100. }
  101. return out, nil
  102. }
  103. func (c *chatClient) CreateChatRoom(ctx context.Context, in *CreateChatRoomParam, opts ...grpc.CallOption) (*RoomReply, error) {
  104. out := new(RoomReply)
  105. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateChatRoom", in, out, opts...)
  106. if err != nil {
  107. return nil, err
  108. }
  109. return out, nil
  110. }
  111. func (c *chatClient) FindOnlinePersonList(ctx context.Context, in *common.ListPageAndPersonRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  112. out := new(common.RecommendPersonListReply)
  113. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOnlinePersonList", in, out, opts...)
  114. if err != nil {
  115. return nil, err
  116. }
  117. return out, nil
  118. }
  119. func (c *chatClient) FindRecommendPersonList(ctx context.Context, in *FindRecommendPersonListRequest, opts ...grpc.CallOption) (*common.RecommendPersonListReply, error) {
  120. out := new(common.RecommendPersonListReply)
  121. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendPersonList", in, out, opts...)
  122. if err != nil {
  123. return nil, err
  124. }
  125. return out, nil
  126. }
  127. func (c *chatClient) PartnerFindRoomList(ctx context.Context, in *PartnerFindRoomListRequest, opts ...grpc.CallOption) (*PartnerFindRoomListReply, error) {
  128. out := new(PartnerFindRoomListReply)
  129. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerFindRoomList", in, out, opts...)
  130. if err != nil {
  131. return nil, err
  132. }
  133. return out, nil
  134. }
  135. func (c *chatClient) UserFindRoomList(ctx context.Context, in *UserFindRoomListRequest, opts ...grpc.CallOption) (*UserFindRoomListReply, error) {
  136. out := new(UserFindRoomListReply)
  137. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserFindRoomList", in, out, opts...)
  138. if err != nil {
  139. return nil, err
  140. }
  141. return out, nil
  142. }
  143. func (c *chatClient) Receive(ctx context.Context, in *ReceiveRequest, opts ...grpc.CallOption) (*ReceiveReply, error) {
  144. out := new(ReceiveReply)
  145. err := c.cc.Invoke(ctx, "/api.chat.Chat/Receive", in, out, opts...)
  146. if err != nil {
  147. return nil, err
  148. }
  149. return out, nil
  150. }
  151. func (c *chatClient) FindChatRecordList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  152. out := new(common.ChatRecordListReply)
  153. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRecordList", in, out, opts...)
  154. if err != nil {
  155. return nil, err
  156. }
  157. return out, nil
  158. }
  159. func (c *chatClient) FindChatRoomMsg(ctx context.Context, in *FindChatRoomMsgRequest, opts ...grpc.CallOption) (*common.ChatRoomMsg, error) {
  160. out := new(common.ChatRoomMsg)
  161. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatRoomMsg", in, out, opts...)
  162. if err != nil {
  163. return nil, err
  164. }
  165. return out, nil
  166. }
  167. func (c *chatClient) SetBlackChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  168. out := new(emptypb.Empty)
  169. err := c.cc.Invoke(ctx, "/api.chat.Chat/SetBlackChat", in, out, opts...)
  170. if err != nil {
  171. return nil, err
  172. }
  173. return out, nil
  174. }
  175. func (c *chatClient) DeleteChat(ctx context.Context, in *SetBlackChatParam, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  176. out := new(emptypb.Empty)
  177. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteChat", in, out, opts...)
  178. if err != nil {
  179. return nil, err
  180. }
  181. return out, nil
  182. }
  183. func (c *chatClient) Report(ctx context.Context, in *common.ReportRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  184. out := new(emptypb.Empty)
  185. err := c.cc.Invoke(ctx, "/api.chat.Chat/Report", in, out, opts...)
  186. if err != nil {
  187. return nil, err
  188. }
  189. return out, nil
  190. }
  191. func (c *chatClient) PartnerGetAward(ctx context.Context, in *PartnerGetAwardRequest, opts ...grpc.CallOption) (*PartnerGetAwardReply, error) {
  192. out := new(PartnerGetAwardReply)
  193. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerGetAward", in, out, opts...)
  194. if err != nil {
  195. return nil, err
  196. }
  197. return out, nil
  198. }
  199. func (c *chatClient) FindRoomCardMsg(ctx context.Context, in *FindRoomCardMsgRequest, opts ...grpc.CallOption) (*common.RoomChatMsg, error) {
  200. out := new(common.RoomChatMsg)
  201. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRoomCardMsg", in, out, opts...)
  202. if err != nil {
  203. return nil, err
  204. }
  205. return out, nil
  206. }
  207. func (c *chatClient) FindNotReplyNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*FindNotReplyNumReply, error) {
  208. out := new(FindNotReplyNumReply)
  209. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindNotReplyNum", in, out, opts...)
  210. if err != nil {
  211. return nil, err
  212. }
  213. return out, nil
  214. }
  215. func (c *chatClient) CreateScrip(ctx context.Context, in *common.CreateScripRequest, opts ...grpc.CallOption) (*common.ScripID, error) {
  216. out := new(common.ScripID)
  217. err := c.cc.Invoke(ctx, "/api.chat.Chat/CreateScrip", in, out, opts...)
  218. if err != nil {
  219. return nil, err
  220. }
  221. return out, nil
  222. }
  223. func (c *chatClient) DeleteScrip(ctx context.Context, in *common.DeleteScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  224. out := new(emptypb.Empty)
  225. err := c.cc.Invoke(ctx, "/api.chat.Chat/DeleteScrip", in, out, opts...)
  226. if err != nil {
  227. return nil, err
  228. }
  229. return out, nil
  230. }
  231. func (c *chatClient) FindMyScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  232. out := new(common.ScripReply)
  233. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindMyScrip", in, out, opts...)
  234. if err != nil {
  235. return nil, err
  236. }
  237. return out, nil
  238. }
  239. func (c *chatClient) FindOtherScrip(ctx context.Context, in *common.FindOtherScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  240. out := new(common.ScripReply)
  241. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindOtherScrip", in, out, opts...)
  242. if err != nil {
  243. return nil, err
  244. }
  245. return out, nil
  246. }
  247. func (c *chatClient) FindRecommendScrip(ctx context.Context, in *common.FindScripRequest, opts ...grpc.CallOption) (*common.ScripReply, error) {
  248. out := new(common.ScripReply)
  249. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindRecommendScrip", in, out, opts...)
  250. if err != nil {
  251. return nil, err
  252. }
  253. return out, nil
  254. }
  255. func (c *chatClient) PersonLookScrip(ctx context.Context, in *common.PersonLookScripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  256. out := new(emptypb.Empty)
  257. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonLookScrip", in, out, opts...)
  258. if err != nil {
  259. return nil, err
  260. }
  261. return out, nil
  262. }
  263. func (c *chatClient) PersonClickLookBack(ctx context.Context, in *common.PersonParam, opts ...grpc.CallOption) (*common.ScripInfo, error) {
  264. out := new(common.ScripInfo)
  265. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonClickLookBack", in, out, opts...)
  266. if err != nil {
  267. return nil, err
  268. }
  269. return out, nil
  270. }
  271. func (c *chatClient) PersonReplyScrip(ctx context.Context, in *common.ReplyScripRequest, opts ...grpc.CallOption) (*common.ChatRecordInfo, error) {
  272. out := new(common.ChatRecordInfo)
  273. err := c.cc.Invoke(ctx, "/api.chat.Chat/PersonReplyScrip", in, out, opts...)
  274. if err != nil {
  275. return nil, err
  276. }
  277. return out, nil
  278. }
  279. func (c *chatClient) GetWindowInfo(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*WindowInfo, error) {
  280. out := new(WindowInfo)
  281. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetWindowInfo", in, out, opts...)
  282. if err != nil {
  283. return nil, err
  284. }
  285. return out, nil
  286. }
  287. func (c *chatClient) GetRandomMatching(ctx context.Context, in *common.MatchingRequest, opts ...grpc.CallOption) (*GetRandomMatchingReply, error) {
  288. out := new(GetRandomMatchingReply)
  289. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRandomMatching", in, out, opts...)
  290. if err != nil {
  291. return nil, err
  292. }
  293. return out, nil
  294. }
  295. func (c *chatClient) GetMatchingPartnerInfo(ctx context.Context, in *GetMatchingPartnerInfoRequest, opts ...grpc.CallOption) (*common.GetMatchingPartnerInfoReply, error) {
  296. out := new(common.GetMatchingPartnerInfoReply)
  297. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetMatchingPartnerInfo", in, out, opts...)
  298. if err != nil {
  299. return nil, err
  300. }
  301. return out, nil
  302. }
  303. func (c *chatClient) PartnerCollect(ctx context.Context, in *PartnerCollectIDsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  304. out := new(emptypb.Empty)
  305. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerCollect", in, out, opts...)
  306. if err != nil {
  307. return nil, err
  308. }
  309. return out, nil
  310. }
  311. func (c *chatClient) PartnerDeleteCollect(ctx context.Context, in *PartnerCollectRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  312. out := new(emptypb.Empty)
  313. err := c.cc.Invoke(ctx, "/api.chat.Chat/PartnerDeleteCollect", in, out, opts...)
  314. if err != nil {
  315. return nil, err
  316. }
  317. return out, nil
  318. }
  319. func (c *chatClient) FindChatCollectList(ctx context.Context, in *FindChatRecordListRequest, opts ...grpc.CallOption) (*common.ChatRecordListReply, error) {
  320. out := new(common.ChatRecordListReply)
  321. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindChatCollectList", in, out, opts...)
  322. if err != nil {
  323. return nil, err
  324. }
  325. return out, nil
  326. }
  327. func (c *chatClient) UserUnlockVoice(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  328. out := new(emptypb.Empty)
  329. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockVoice", in, out, opts...)
  330. if err != nil {
  331. return nil, err
  332. }
  333. return out, nil
  334. }
  335. func (c *chatClient) UserUnlockPicture(ctx context.Context, in *UserUnlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
  336. out := new(emptypb.Empty)
  337. err := c.cc.Invoke(ctx, "/api.chat.Chat/UserUnlockPicture", in, out, opts...)
  338. if err != nil {
  339. return nil, err
  340. }
  341. return out, nil
  342. }
  343. func (c *chatClient) GetRoomProfit(ctx context.Context, in *common.RoomIDRequest, opts ...grpc.CallOption) (*GetRoomProfitReply, error) {
  344. out := new(GetRoomProfitReply)
  345. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetRoomProfit", in, out, opts...)
  346. if err != nil {
  347. return nil, err
  348. }
  349. return out, nil
  350. }
  351. func (c *chatClient) GetOnlinePersonNum(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetOnlinePersonNumReply, error) {
  352. out := new(GetOnlinePersonNumReply)
  353. err := c.cc.Invoke(ctx, "/api.chat.Chat/GetOnlinePersonNum", in, out, opts...)
  354. if err != nil {
  355. return nil, err
  356. }
  357. return out, nil
  358. }
  359. func (c *chatClient) FindUserAllUnreadNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*UnreadNumReply, error) {
  360. out := new(UnreadNumReply)
  361. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindUserAllUnreadNum", in, out, opts...)
  362. if err != nil {
  363. return nil, err
  364. }
  365. return out, nil
  366. }
  367. func (c *chatClient) FindPartnerAllUnreadNum(ctx context.Context, in *common.IdentifyIdRequest, opts ...grpc.CallOption) (*UnreadNumReply, error) {
  368. out := new(UnreadNumReply)
  369. err := c.cc.Invoke(ctx, "/api.chat.Chat/FindPartnerAllUnreadNum", in, out, opts...)
  370. if err != nil {
  371. return nil, err
  372. }
  373. return out, nil
  374. }
  375. // ChatServer is the server API for Chat service.
  376. // All implementations must embed UnimplementedChatServer
  377. // for forward compatibility
  378. type ChatServer interface {
  379. // 检查用户是否与接待员聊天
  380. CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error)
  381. // 创建聊天房间
  382. CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error)
  383. // 查询在线人的列表
  384. FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error)
  385. // 查询推荐人的列表
  386. FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error)
  387. // 接待员查询房间列表
  388. PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error)
  389. // 用户查询房间列表
  390. UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error)
  391. Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error)
  392. // 查询聊天记录
  393. FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  394. // 房间信息
  395. FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error)
  396. // 拉黑
  397. SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  398. // 删除房间
  399. DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error)
  400. // 拉黑
  401. Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error)
  402. // 接待员领取开通奖励
  403. PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error)
  404. // 房间信息
  405. FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error)
  406. // 查询未处理的数据
  407. FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error)
  408. // 创建纸条
  409. CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error)
  410. // 删除纸条
  411. DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error)
  412. // 查询自己的小纸条
  413. FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  414. // 查询别人的小纸条
  415. FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error)
  416. // 查询随机纸条列表
  417. FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error)
  418. // 用户查看纸条
  419. PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error)
  420. // 用户点击回看
  421. PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error)
  422. // 回复小纸条
  423. PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error)
  424. // 获取假弹窗
  425. GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error)
  426. // 随机匹配
  427. GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error)
  428. // 随机匹配接待员
  429. GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error)
  430. // 接待员收藏某条记录
  431. PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error)
  432. // 接待员取消收藏某条记录
  433. PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error)
  434. // 查询接待员在本房间的收藏列表
  435. FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error)
  436. // 用户解锁语音
  437. UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  438. // 用户解锁图片
  439. UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error)
  440. // 获取房间的接待员收益
  441. GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error)
  442. // 获取在线人数
  443. GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error)
  444. // 查询用户全部的未读数
  445. FindUserAllUnreadNum(context.Context, *common.IdentifyIdRequest) (*UnreadNumReply, error)
  446. // 查询接待员全部的未读数
  447. FindPartnerAllUnreadNum(context.Context, *common.IdentifyIdRequest) (*UnreadNumReply, error)
  448. mustEmbedUnimplementedChatServer()
  449. }
  450. // UnimplementedChatServer must be embedded to have forward compatible implementations.
  451. type UnimplementedChatServer struct {
  452. }
  453. func (UnimplementedChatServer) CheckUserPartnerIsRelationship(context.Context, *common.UserAndPartnerIdentifyIdParam) (*CheckUserPartnerIsRelationshipReply, error) {
  454. return nil, status.Errorf(codes.Unimplemented, "method CheckUserPartnerIsRelationship not implemented")
  455. }
  456. func (UnimplementedChatServer) CreateChatRoom(context.Context, *CreateChatRoomParam) (*RoomReply, error) {
  457. return nil, status.Errorf(codes.Unimplemented, "method CreateChatRoom not implemented")
  458. }
  459. func (UnimplementedChatServer) FindOnlinePersonList(context.Context, *common.ListPageAndPersonRequest) (*common.RecommendPersonListReply, error) {
  460. return nil, status.Errorf(codes.Unimplemented, "method FindOnlinePersonList not implemented")
  461. }
  462. func (UnimplementedChatServer) FindRecommendPersonList(context.Context, *FindRecommendPersonListRequest) (*common.RecommendPersonListReply, error) {
  463. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendPersonList not implemented")
  464. }
  465. func (UnimplementedChatServer) PartnerFindRoomList(context.Context, *PartnerFindRoomListRequest) (*PartnerFindRoomListReply, error) {
  466. return nil, status.Errorf(codes.Unimplemented, "method PartnerFindRoomList not implemented")
  467. }
  468. func (UnimplementedChatServer) UserFindRoomList(context.Context, *UserFindRoomListRequest) (*UserFindRoomListReply, error) {
  469. return nil, status.Errorf(codes.Unimplemented, "method UserFindRoomList not implemented")
  470. }
  471. func (UnimplementedChatServer) Receive(context.Context, *ReceiveRequest) (*ReceiveReply, error) {
  472. return nil, status.Errorf(codes.Unimplemented, "method Receive not implemented")
  473. }
  474. func (UnimplementedChatServer) FindChatRecordList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  475. return nil, status.Errorf(codes.Unimplemented, "method FindChatRecordList not implemented")
  476. }
  477. func (UnimplementedChatServer) FindChatRoomMsg(context.Context, *FindChatRoomMsgRequest) (*common.ChatRoomMsg, error) {
  478. return nil, status.Errorf(codes.Unimplemented, "method FindChatRoomMsg not implemented")
  479. }
  480. func (UnimplementedChatServer) SetBlackChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  481. return nil, status.Errorf(codes.Unimplemented, "method SetBlackChat not implemented")
  482. }
  483. func (UnimplementedChatServer) DeleteChat(context.Context, *SetBlackChatParam) (*emptypb.Empty, error) {
  484. return nil, status.Errorf(codes.Unimplemented, "method DeleteChat not implemented")
  485. }
  486. func (UnimplementedChatServer) Report(context.Context, *common.ReportRequest) (*emptypb.Empty, error) {
  487. return nil, status.Errorf(codes.Unimplemented, "method Report not implemented")
  488. }
  489. func (UnimplementedChatServer) PartnerGetAward(context.Context, *PartnerGetAwardRequest) (*PartnerGetAwardReply, error) {
  490. return nil, status.Errorf(codes.Unimplemented, "method PartnerGetAward not implemented")
  491. }
  492. func (UnimplementedChatServer) FindRoomCardMsg(context.Context, *FindRoomCardMsgRequest) (*common.RoomChatMsg, error) {
  493. return nil, status.Errorf(codes.Unimplemented, "method FindRoomCardMsg not implemented")
  494. }
  495. func (UnimplementedChatServer) FindNotReplyNum(context.Context, *common.IdentifyIdRequest) (*FindNotReplyNumReply, error) {
  496. return nil, status.Errorf(codes.Unimplemented, "method FindNotReplyNum not implemented")
  497. }
  498. func (UnimplementedChatServer) CreateScrip(context.Context, *common.CreateScripRequest) (*common.ScripID, error) {
  499. return nil, status.Errorf(codes.Unimplemented, "method CreateScrip not implemented")
  500. }
  501. func (UnimplementedChatServer) DeleteScrip(context.Context, *common.DeleteScripRequest) (*emptypb.Empty, error) {
  502. return nil, status.Errorf(codes.Unimplemented, "method DeleteScrip not implemented")
  503. }
  504. func (UnimplementedChatServer) FindMyScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  505. return nil, status.Errorf(codes.Unimplemented, "method FindMyScrip not implemented")
  506. }
  507. func (UnimplementedChatServer) FindOtherScrip(context.Context, *common.FindOtherScripRequest) (*common.ScripReply, error) {
  508. return nil, status.Errorf(codes.Unimplemented, "method FindOtherScrip not implemented")
  509. }
  510. func (UnimplementedChatServer) FindRecommendScrip(context.Context, *common.FindScripRequest) (*common.ScripReply, error) {
  511. return nil, status.Errorf(codes.Unimplemented, "method FindRecommendScrip not implemented")
  512. }
  513. func (UnimplementedChatServer) PersonLookScrip(context.Context, *common.PersonLookScripRequest) (*emptypb.Empty, error) {
  514. return nil, status.Errorf(codes.Unimplemented, "method PersonLookScrip not implemented")
  515. }
  516. func (UnimplementedChatServer) PersonClickLookBack(context.Context, *common.PersonParam) (*common.ScripInfo, error) {
  517. return nil, status.Errorf(codes.Unimplemented, "method PersonClickLookBack not implemented")
  518. }
  519. func (UnimplementedChatServer) PersonReplyScrip(context.Context, *common.ReplyScripRequest) (*common.ChatRecordInfo, error) {
  520. return nil, status.Errorf(codes.Unimplemented, "method PersonReplyScrip not implemented")
  521. }
  522. func (UnimplementedChatServer) GetWindowInfo(context.Context, *common.MatchingRequest) (*WindowInfo, error) {
  523. return nil, status.Errorf(codes.Unimplemented, "method GetWindowInfo not implemented")
  524. }
  525. func (UnimplementedChatServer) GetRandomMatching(context.Context, *common.MatchingRequest) (*GetRandomMatchingReply, error) {
  526. return nil, status.Errorf(codes.Unimplemented, "method GetRandomMatching not implemented")
  527. }
  528. func (UnimplementedChatServer) GetMatchingPartnerInfo(context.Context, *GetMatchingPartnerInfoRequest) (*common.GetMatchingPartnerInfoReply, error) {
  529. return nil, status.Errorf(codes.Unimplemented, "method GetMatchingPartnerInfo not implemented")
  530. }
  531. func (UnimplementedChatServer) PartnerCollect(context.Context, *PartnerCollectIDsRequest) (*emptypb.Empty, error) {
  532. return nil, status.Errorf(codes.Unimplemented, "method PartnerCollect not implemented")
  533. }
  534. func (UnimplementedChatServer) PartnerDeleteCollect(context.Context, *PartnerCollectRequest) (*emptypb.Empty, error) {
  535. return nil, status.Errorf(codes.Unimplemented, "method PartnerDeleteCollect not implemented")
  536. }
  537. func (UnimplementedChatServer) FindChatCollectList(context.Context, *FindChatRecordListRequest) (*common.ChatRecordListReply, error) {
  538. return nil, status.Errorf(codes.Unimplemented, "method FindChatCollectList not implemented")
  539. }
  540. func (UnimplementedChatServer) UserUnlockVoice(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  541. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockVoice not implemented")
  542. }
  543. func (UnimplementedChatServer) UserUnlockPicture(context.Context, *UserUnlockRequest) (*emptypb.Empty, error) {
  544. return nil, status.Errorf(codes.Unimplemented, "method UserUnlockPicture not implemented")
  545. }
  546. func (UnimplementedChatServer) GetRoomProfit(context.Context, *common.RoomIDRequest) (*GetRoomProfitReply, error) {
  547. return nil, status.Errorf(codes.Unimplemented, "method GetRoomProfit not implemented")
  548. }
  549. func (UnimplementedChatServer) GetOnlinePersonNum(context.Context, *emptypb.Empty) (*GetOnlinePersonNumReply, error) {
  550. return nil, status.Errorf(codes.Unimplemented, "method GetOnlinePersonNum not implemented")
  551. }
  552. func (UnimplementedChatServer) FindUserAllUnreadNum(context.Context, *common.IdentifyIdRequest) (*UnreadNumReply, error) {
  553. return nil, status.Errorf(codes.Unimplemented, "method FindUserAllUnreadNum not implemented")
  554. }
  555. func (UnimplementedChatServer) FindPartnerAllUnreadNum(context.Context, *common.IdentifyIdRequest) (*UnreadNumReply, error) {
  556. return nil, status.Errorf(codes.Unimplemented, "method FindPartnerAllUnreadNum not implemented")
  557. }
  558. func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
  559. // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
  560. // Use of this interface is not recommended, as added methods to ChatServer will
  561. // result in compilation errors.
  562. type UnsafeChatServer interface {
  563. mustEmbedUnimplementedChatServer()
  564. }
  565. func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
  566. s.RegisterService(&Chat_ServiceDesc, srv)
  567. }
  568. func _Chat_CheckUserPartnerIsRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  569. in := new(common.UserAndPartnerIdentifyIdParam)
  570. if err := dec(in); err != nil {
  571. return nil, err
  572. }
  573. if interceptor == nil {
  574. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, in)
  575. }
  576. info := &grpc.UnaryServerInfo{
  577. Server: srv,
  578. FullMethod: "/api.chat.Chat/CheckUserPartnerIsRelationship",
  579. }
  580. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  581. return srv.(ChatServer).CheckUserPartnerIsRelationship(ctx, req.(*common.UserAndPartnerIdentifyIdParam))
  582. }
  583. return interceptor(ctx, in, info, handler)
  584. }
  585. func _Chat_CreateChatRoom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  586. in := new(CreateChatRoomParam)
  587. if err := dec(in); err != nil {
  588. return nil, err
  589. }
  590. if interceptor == nil {
  591. return srv.(ChatServer).CreateChatRoom(ctx, in)
  592. }
  593. info := &grpc.UnaryServerInfo{
  594. Server: srv,
  595. FullMethod: "/api.chat.Chat/CreateChatRoom",
  596. }
  597. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  598. return srv.(ChatServer).CreateChatRoom(ctx, req.(*CreateChatRoomParam))
  599. }
  600. return interceptor(ctx, in, info, handler)
  601. }
  602. func _Chat_FindOnlinePersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  603. in := new(common.ListPageAndPersonRequest)
  604. if err := dec(in); err != nil {
  605. return nil, err
  606. }
  607. if interceptor == nil {
  608. return srv.(ChatServer).FindOnlinePersonList(ctx, in)
  609. }
  610. info := &grpc.UnaryServerInfo{
  611. Server: srv,
  612. FullMethod: "/api.chat.Chat/FindOnlinePersonList",
  613. }
  614. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  615. return srv.(ChatServer).FindOnlinePersonList(ctx, req.(*common.ListPageAndPersonRequest))
  616. }
  617. return interceptor(ctx, in, info, handler)
  618. }
  619. func _Chat_FindRecommendPersonList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  620. in := new(FindRecommendPersonListRequest)
  621. if err := dec(in); err != nil {
  622. return nil, err
  623. }
  624. if interceptor == nil {
  625. return srv.(ChatServer).FindRecommendPersonList(ctx, in)
  626. }
  627. info := &grpc.UnaryServerInfo{
  628. Server: srv,
  629. FullMethod: "/api.chat.Chat/FindRecommendPersonList",
  630. }
  631. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  632. return srv.(ChatServer).FindRecommendPersonList(ctx, req.(*FindRecommendPersonListRequest))
  633. }
  634. return interceptor(ctx, in, info, handler)
  635. }
  636. func _Chat_PartnerFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  637. in := new(PartnerFindRoomListRequest)
  638. if err := dec(in); err != nil {
  639. return nil, err
  640. }
  641. if interceptor == nil {
  642. return srv.(ChatServer).PartnerFindRoomList(ctx, in)
  643. }
  644. info := &grpc.UnaryServerInfo{
  645. Server: srv,
  646. FullMethod: "/api.chat.Chat/PartnerFindRoomList",
  647. }
  648. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  649. return srv.(ChatServer).PartnerFindRoomList(ctx, req.(*PartnerFindRoomListRequest))
  650. }
  651. return interceptor(ctx, in, info, handler)
  652. }
  653. func _Chat_UserFindRoomList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  654. in := new(UserFindRoomListRequest)
  655. if err := dec(in); err != nil {
  656. return nil, err
  657. }
  658. if interceptor == nil {
  659. return srv.(ChatServer).UserFindRoomList(ctx, in)
  660. }
  661. info := &grpc.UnaryServerInfo{
  662. Server: srv,
  663. FullMethod: "/api.chat.Chat/UserFindRoomList",
  664. }
  665. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  666. return srv.(ChatServer).UserFindRoomList(ctx, req.(*UserFindRoomListRequest))
  667. }
  668. return interceptor(ctx, in, info, handler)
  669. }
  670. func _Chat_Receive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  671. in := new(ReceiveRequest)
  672. if err := dec(in); err != nil {
  673. return nil, err
  674. }
  675. if interceptor == nil {
  676. return srv.(ChatServer).Receive(ctx, in)
  677. }
  678. info := &grpc.UnaryServerInfo{
  679. Server: srv,
  680. FullMethod: "/api.chat.Chat/Receive",
  681. }
  682. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  683. return srv.(ChatServer).Receive(ctx, req.(*ReceiveRequest))
  684. }
  685. return interceptor(ctx, in, info, handler)
  686. }
  687. func _Chat_FindChatRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  688. in := new(FindChatRecordListRequest)
  689. if err := dec(in); err != nil {
  690. return nil, err
  691. }
  692. if interceptor == nil {
  693. return srv.(ChatServer).FindChatRecordList(ctx, in)
  694. }
  695. info := &grpc.UnaryServerInfo{
  696. Server: srv,
  697. FullMethod: "/api.chat.Chat/FindChatRecordList",
  698. }
  699. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  700. return srv.(ChatServer).FindChatRecordList(ctx, req.(*FindChatRecordListRequest))
  701. }
  702. return interceptor(ctx, in, info, handler)
  703. }
  704. func _Chat_FindChatRoomMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  705. in := new(FindChatRoomMsgRequest)
  706. if err := dec(in); err != nil {
  707. return nil, err
  708. }
  709. if interceptor == nil {
  710. return srv.(ChatServer).FindChatRoomMsg(ctx, in)
  711. }
  712. info := &grpc.UnaryServerInfo{
  713. Server: srv,
  714. FullMethod: "/api.chat.Chat/FindChatRoomMsg",
  715. }
  716. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  717. return srv.(ChatServer).FindChatRoomMsg(ctx, req.(*FindChatRoomMsgRequest))
  718. }
  719. return interceptor(ctx, in, info, handler)
  720. }
  721. func _Chat_SetBlackChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  722. in := new(SetBlackChatParam)
  723. if err := dec(in); err != nil {
  724. return nil, err
  725. }
  726. if interceptor == nil {
  727. return srv.(ChatServer).SetBlackChat(ctx, in)
  728. }
  729. info := &grpc.UnaryServerInfo{
  730. Server: srv,
  731. FullMethod: "/api.chat.Chat/SetBlackChat",
  732. }
  733. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  734. return srv.(ChatServer).SetBlackChat(ctx, req.(*SetBlackChatParam))
  735. }
  736. return interceptor(ctx, in, info, handler)
  737. }
  738. func _Chat_DeleteChat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  739. in := new(SetBlackChatParam)
  740. if err := dec(in); err != nil {
  741. return nil, err
  742. }
  743. if interceptor == nil {
  744. return srv.(ChatServer).DeleteChat(ctx, in)
  745. }
  746. info := &grpc.UnaryServerInfo{
  747. Server: srv,
  748. FullMethod: "/api.chat.Chat/DeleteChat",
  749. }
  750. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  751. return srv.(ChatServer).DeleteChat(ctx, req.(*SetBlackChatParam))
  752. }
  753. return interceptor(ctx, in, info, handler)
  754. }
  755. func _Chat_Report_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  756. in := new(common.ReportRequest)
  757. if err := dec(in); err != nil {
  758. return nil, err
  759. }
  760. if interceptor == nil {
  761. return srv.(ChatServer).Report(ctx, in)
  762. }
  763. info := &grpc.UnaryServerInfo{
  764. Server: srv,
  765. FullMethod: "/api.chat.Chat/Report",
  766. }
  767. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  768. return srv.(ChatServer).Report(ctx, req.(*common.ReportRequest))
  769. }
  770. return interceptor(ctx, in, info, handler)
  771. }
  772. func _Chat_PartnerGetAward_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  773. in := new(PartnerGetAwardRequest)
  774. if err := dec(in); err != nil {
  775. return nil, err
  776. }
  777. if interceptor == nil {
  778. return srv.(ChatServer).PartnerGetAward(ctx, in)
  779. }
  780. info := &grpc.UnaryServerInfo{
  781. Server: srv,
  782. FullMethod: "/api.chat.Chat/PartnerGetAward",
  783. }
  784. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  785. return srv.(ChatServer).PartnerGetAward(ctx, req.(*PartnerGetAwardRequest))
  786. }
  787. return interceptor(ctx, in, info, handler)
  788. }
  789. func _Chat_FindRoomCardMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  790. in := new(FindRoomCardMsgRequest)
  791. if err := dec(in); err != nil {
  792. return nil, err
  793. }
  794. if interceptor == nil {
  795. return srv.(ChatServer).FindRoomCardMsg(ctx, in)
  796. }
  797. info := &grpc.UnaryServerInfo{
  798. Server: srv,
  799. FullMethod: "/api.chat.Chat/FindRoomCardMsg",
  800. }
  801. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  802. return srv.(ChatServer).FindRoomCardMsg(ctx, req.(*FindRoomCardMsgRequest))
  803. }
  804. return interceptor(ctx, in, info, handler)
  805. }
  806. func _Chat_FindNotReplyNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  807. in := new(common.IdentifyIdRequest)
  808. if err := dec(in); err != nil {
  809. return nil, err
  810. }
  811. if interceptor == nil {
  812. return srv.(ChatServer).FindNotReplyNum(ctx, in)
  813. }
  814. info := &grpc.UnaryServerInfo{
  815. Server: srv,
  816. FullMethod: "/api.chat.Chat/FindNotReplyNum",
  817. }
  818. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  819. return srv.(ChatServer).FindNotReplyNum(ctx, req.(*common.IdentifyIdRequest))
  820. }
  821. return interceptor(ctx, in, info, handler)
  822. }
  823. func _Chat_CreateScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  824. in := new(common.CreateScripRequest)
  825. if err := dec(in); err != nil {
  826. return nil, err
  827. }
  828. if interceptor == nil {
  829. return srv.(ChatServer).CreateScrip(ctx, in)
  830. }
  831. info := &grpc.UnaryServerInfo{
  832. Server: srv,
  833. FullMethod: "/api.chat.Chat/CreateScrip",
  834. }
  835. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  836. return srv.(ChatServer).CreateScrip(ctx, req.(*common.CreateScripRequest))
  837. }
  838. return interceptor(ctx, in, info, handler)
  839. }
  840. func _Chat_DeleteScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  841. in := new(common.DeleteScripRequest)
  842. if err := dec(in); err != nil {
  843. return nil, err
  844. }
  845. if interceptor == nil {
  846. return srv.(ChatServer).DeleteScrip(ctx, in)
  847. }
  848. info := &grpc.UnaryServerInfo{
  849. Server: srv,
  850. FullMethod: "/api.chat.Chat/DeleteScrip",
  851. }
  852. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  853. return srv.(ChatServer).DeleteScrip(ctx, req.(*common.DeleteScripRequest))
  854. }
  855. return interceptor(ctx, in, info, handler)
  856. }
  857. func _Chat_FindMyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  858. in := new(common.FindScripRequest)
  859. if err := dec(in); err != nil {
  860. return nil, err
  861. }
  862. if interceptor == nil {
  863. return srv.(ChatServer).FindMyScrip(ctx, in)
  864. }
  865. info := &grpc.UnaryServerInfo{
  866. Server: srv,
  867. FullMethod: "/api.chat.Chat/FindMyScrip",
  868. }
  869. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  870. return srv.(ChatServer).FindMyScrip(ctx, req.(*common.FindScripRequest))
  871. }
  872. return interceptor(ctx, in, info, handler)
  873. }
  874. func _Chat_FindOtherScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  875. in := new(common.FindOtherScripRequest)
  876. if err := dec(in); err != nil {
  877. return nil, err
  878. }
  879. if interceptor == nil {
  880. return srv.(ChatServer).FindOtherScrip(ctx, in)
  881. }
  882. info := &grpc.UnaryServerInfo{
  883. Server: srv,
  884. FullMethod: "/api.chat.Chat/FindOtherScrip",
  885. }
  886. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  887. return srv.(ChatServer).FindOtherScrip(ctx, req.(*common.FindOtherScripRequest))
  888. }
  889. return interceptor(ctx, in, info, handler)
  890. }
  891. func _Chat_FindRecommendScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  892. in := new(common.FindScripRequest)
  893. if err := dec(in); err != nil {
  894. return nil, err
  895. }
  896. if interceptor == nil {
  897. return srv.(ChatServer).FindRecommendScrip(ctx, in)
  898. }
  899. info := &grpc.UnaryServerInfo{
  900. Server: srv,
  901. FullMethod: "/api.chat.Chat/FindRecommendScrip",
  902. }
  903. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  904. return srv.(ChatServer).FindRecommendScrip(ctx, req.(*common.FindScripRequest))
  905. }
  906. return interceptor(ctx, in, info, handler)
  907. }
  908. func _Chat_PersonLookScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  909. in := new(common.PersonLookScripRequest)
  910. if err := dec(in); err != nil {
  911. return nil, err
  912. }
  913. if interceptor == nil {
  914. return srv.(ChatServer).PersonLookScrip(ctx, in)
  915. }
  916. info := &grpc.UnaryServerInfo{
  917. Server: srv,
  918. FullMethod: "/api.chat.Chat/PersonLookScrip",
  919. }
  920. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  921. return srv.(ChatServer).PersonLookScrip(ctx, req.(*common.PersonLookScripRequest))
  922. }
  923. return interceptor(ctx, in, info, handler)
  924. }
  925. func _Chat_PersonClickLookBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  926. in := new(common.PersonParam)
  927. if err := dec(in); err != nil {
  928. return nil, err
  929. }
  930. if interceptor == nil {
  931. return srv.(ChatServer).PersonClickLookBack(ctx, in)
  932. }
  933. info := &grpc.UnaryServerInfo{
  934. Server: srv,
  935. FullMethod: "/api.chat.Chat/PersonClickLookBack",
  936. }
  937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  938. return srv.(ChatServer).PersonClickLookBack(ctx, req.(*common.PersonParam))
  939. }
  940. return interceptor(ctx, in, info, handler)
  941. }
  942. func _Chat_PersonReplyScrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  943. in := new(common.ReplyScripRequest)
  944. if err := dec(in); err != nil {
  945. return nil, err
  946. }
  947. if interceptor == nil {
  948. return srv.(ChatServer).PersonReplyScrip(ctx, in)
  949. }
  950. info := &grpc.UnaryServerInfo{
  951. Server: srv,
  952. FullMethod: "/api.chat.Chat/PersonReplyScrip",
  953. }
  954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  955. return srv.(ChatServer).PersonReplyScrip(ctx, req.(*common.ReplyScripRequest))
  956. }
  957. return interceptor(ctx, in, info, handler)
  958. }
  959. func _Chat_GetWindowInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  960. in := new(common.MatchingRequest)
  961. if err := dec(in); err != nil {
  962. return nil, err
  963. }
  964. if interceptor == nil {
  965. return srv.(ChatServer).GetWindowInfo(ctx, in)
  966. }
  967. info := &grpc.UnaryServerInfo{
  968. Server: srv,
  969. FullMethod: "/api.chat.Chat/GetWindowInfo",
  970. }
  971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  972. return srv.(ChatServer).GetWindowInfo(ctx, req.(*common.MatchingRequest))
  973. }
  974. return interceptor(ctx, in, info, handler)
  975. }
  976. func _Chat_GetRandomMatching_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  977. in := new(common.MatchingRequest)
  978. if err := dec(in); err != nil {
  979. return nil, err
  980. }
  981. if interceptor == nil {
  982. return srv.(ChatServer).GetRandomMatching(ctx, in)
  983. }
  984. info := &grpc.UnaryServerInfo{
  985. Server: srv,
  986. FullMethod: "/api.chat.Chat/GetRandomMatching",
  987. }
  988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  989. return srv.(ChatServer).GetRandomMatching(ctx, req.(*common.MatchingRequest))
  990. }
  991. return interceptor(ctx, in, info, handler)
  992. }
  993. func _Chat_GetMatchingPartnerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  994. in := new(GetMatchingPartnerInfoRequest)
  995. if err := dec(in); err != nil {
  996. return nil, err
  997. }
  998. if interceptor == nil {
  999. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, in)
  1000. }
  1001. info := &grpc.UnaryServerInfo{
  1002. Server: srv,
  1003. FullMethod: "/api.chat.Chat/GetMatchingPartnerInfo",
  1004. }
  1005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1006. return srv.(ChatServer).GetMatchingPartnerInfo(ctx, req.(*GetMatchingPartnerInfoRequest))
  1007. }
  1008. return interceptor(ctx, in, info, handler)
  1009. }
  1010. func _Chat_PartnerCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1011. in := new(PartnerCollectIDsRequest)
  1012. if err := dec(in); err != nil {
  1013. return nil, err
  1014. }
  1015. if interceptor == nil {
  1016. return srv.(ChatServer).PartnerCollect(ctx, in)
  1017. }
  1018. info := &grpc.UnaryServerInfo{
  1019. Server: srv,
  1020. FullMethod: "/api.chat.Chat/PartnerCollect",
  1021. }
  1022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1023. return srv.(ChatServer).PartnerCollect(ctx, req.(*PartnerCollectIDsRequest))
  1024. }
  1025. return interceptor(ctx, in, info, handler)
  1026. }
  1027. func _Chat_PartnerDeleteCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1028. in := new(PartnerCollectRequest)
  1029. if err := dec(in); err != nil {
  1030. return nil, err
  1031. }
  1032. if interceptor == nil {
  1033. return srv.(ChatServer).PartnerDeleteCollect(ctx, in)
  1034. }
  1035. info := &grpc.UnaryServerInfo{
  1036. Server: srv,
  1037. FullMethod: "/api.chat.Chat/PartnerDeleteCollect",
  1038. }
  1039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1040. return srv.(ChatServer).PartnerDeleteCollect(ctx, req.(*PartnerCollectRequest))
  1041. }
  1042. return interceptor(ctx, in, info, handler)
  1043. }
  1044. func _Chat_FindChatCollectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1045. in := new(FindChatRecordListRequest)
  1046. if err := dec(in); err != nil {
  1047. return nil, err
  1048. }
  1049. if interceptor == nil {
  1050. return srv.(ChatServer).FindChatCollectList(ctx, in)
  1051. }
  1052. info := &grpc.UnaryServerInfo{
  1053. Server: srv,
  1054. FullMethod: "/api.chat.Chat/FindChatCollectList",
  1055. }
  1056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1057. return srv.(ChatServer).FindChatCollectList(ctx, req.(*FindChatRecordListRequest))
  1058. }
  1059. return interceptor(ctx, in, info, handler)
  1060. }
  1061. func _Chat_UserUnlockVoice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1062. in := new(UserUnlockRequest)
  1063. if err := dec(in); err != nil {
  1064. return nil, err
  1065. }
  1066. if interceptor == nil {
  1067. return srv.(ChatServer).UserUnlockVoice(ctx, in)
  1068. }
  1069. info := &grpc.UnaryServerInfo{
  1070. Server: srv,
  1071. FullMethod: "/api.chat.Chat/UserUnlockVoice",
  1072. }
  1073. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1074. return srv.(ChatServer).UserUnlockVoice(ctx, req.(*UserUnlockRequest))
  1075. }
  1076. return interceptor(ctx, in, info, handler)
  1077. }
  1078. func _Chat_UserUnlockPicture_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1079. in := new(UserUnlockRequest)
  1080. if err := dec(in); err != nil {
  1081. return nil, err
  1082. }
  1083. if interceptor == nil {
  1084. return srv.(ChatServer).UserUnlockPicture(ctx, in)
  1085. }
  1086. info := &grpc.UnaryServerInfo{
  1087. Server: srv,
  1088. FullMethod: "/api.chat.Chat/UserUnlockPicture",
  1089. }
  1090. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1091. return srv.(ChatServer).UserUnlockPicture(ctx, req.(*UserUnlockRequest))
  1092. }
  1093. return interceptor(ctx, in, info, handler)
  1094. }
  1095. func _Chat_GetRoomProfit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1096. in := new(common.RoomIDRequest)
  1097. if err := dec(in); err != nil {
  1098. return nil, err
  1099. }
  1100. if interceptor == nil {
  1101. return srv.(ChatServer).GetRoomProfit(ctx, in)
  1102. }
  1103. info := &grpc.UnaryServerInfo{
  1104. Server: srv,
  1105. FullMethod: "/api.chat.Chat/GetRoomProfit",
  1106. }
  1107. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1108. return srv.(ChatServer).GetRoomProfit(ctx, req.(*common.RoomIDRequest))
  1109. }
  1110. return interceptor(ctx, in, info, handler)
  1111. }
  1112. func _Chat_GetOnlinePersonNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1113. in := new(emptypb.Empty)
  1114. if err := dec(in); err != nil {
  1115. return nil, err
  1116. }
  1117. if interceptor == nil {
  1118. return srv.(ChatServer).GetOnlinePersonNum(ctx, in)
  1119. }
  1120. info := &grpc.UnaryServerInfo{
  1121. Server: srv,
  1122. FullMethod: "/api.chat.Chat/GetOnlinePersonNum",
  1123. }
  1124. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1125. return srv.(ChatServer).GetOnlinePersonNum(ctx, req.(*emptypb.Empty))
  1126. }
  1127. return interceptor(ctx, in, info, handler)
  1128. }
  1129. func _Chat_FindUserAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1130. in := new(common.IdentifyIdRequest)
  1131. if err := dec(in); err != nil {
  1132. return nil, err
  1133. }
  1134. if interceptor == nil {
  1135. return srv.(ChatServer).FindUserAllUnreadNum(ctx, in)
  1136. }
  1137. info := &grpc.UnaryServerInfo{
  1138. Server: srv,
  1139. FullMethod: "/api.chat.Chat/FindUserAllUnreadNum",
  1140. }
  1141. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1142. return srv.(ChatServer).FindUserAllUnreadNum(ctx, req.(*common.IdentifyIdRequest))
  1143. }
  1144. return interceptor(ctx, in, info, handler)
  1145. }
  1146. func _Chat_FindPartnerAllUnreadNum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1147. in := new(common.IdentifyIdRequest)
  1148. if err := dec(in); err != nil {
  1149. return nil, err
  1150. }
  1151. if interceptor == nil {
  1152. return srv.(ChatServer).FindPartnerAllUnreadNum(ctx, in)
  1153. }
  1154. info := &grpc.UnaryServerInfo{
  1155. Server: srv,
  1156. FullMethod: "/api.chat.Chat/FindPartnerAllUnreadNum",
  1157. }
  1158. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1159. return srv.(ChatServer).FindPartnerAllUnreadNum(ctx, req.(*common.IdentifyIdRequest))
  1160. }
  1161. return interceptor(ctx, in, info, handler)
  1162. }
  1163. // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
  1164. // It's only intended for direct use with grpc.RegisterService,
  1165. // and not to be introspected or modified (even as a copy)
  1166. var Chat_ServiceDesc = grpc.ServiceDesc{
  1167. ServiceName: "api.chat.Chat",
  1168. HandlerType: (*ChatServer)(nil),
  1169. Methods: []grpc.MethodDesc{
  1170. {
  1171. MethodName: "CheckUserPartnerIsRelationship",
  1172. Handler: _Chat_CheckUserPartnerIsRelationship_Handler,
  1173. },
  1174. {
  1175. MethodName: "CreateChatRoom",
  1176. Handler: _Chat_CreateChatRoom_Handler,
  1177. },
  1178. {
  1179. MethodName: "FindOnlinePersonList",
  1180. Handler: _Chat_FindOnlinePersonList_Handler,
  1181. },
  1182. {
  1183. MethodName: "FindRecommendPersonList",
  1184. Handler: _Chat_FindRecommendPersonList_Handler,
  1185. },
  1186. {
  1187. MethodName: "PartnerFindRoomList",
  1188. Handler: _Chat_PartnerFindRoomList_Handler,
  1189. },
  1190. {
  1191. MethodName: "UserFindRoomList",
  1192. Handler: _Chat_UserFindRoomList_Handler,
  1193. },
  1194. {
  1195. MethodName: "Receive",
  1196. Handler: _Chat_Receive_Handler,
  1197. },
  1198. {
  1199. MethodName: "FindChatRecordList",
  1200. Handler: _Chat_FindChatRecordList_Handler,
  1201. },
  1202. {
  1203. MethodName: "FindChatRoomMsg",
  1204. Handler: _Chat_FindChatRoomMsg_Handler,
  1205. },
  1206. {
  1207. MethodName: "SetBlackChat",
  1208. Handler: _Chat_SetBlackChat_Handler,
  1209. },
  1210. {
  1211. MethodName: "DeleteChat",
  1212. Handler: _Chat_DeleteChat_Handler,
  1213. },
  1214. {
  1215. MethodName: "Report",
  1216. Handler: _Chat_Report_Handler,
  1217. },
  1218. {
  1219. MethodName: "PartnerGetAward",
  1220. Handler: _Chat_PartnerGetAward_Handler,
  1221. },
  1222. {
  1223. MethodName: "FindRoomCardMsg",
  1224. Handler: _Chat_FindRoomCardMsg_Handler,
  1225. },
  1226. {
  1227. MethodName: "FindNotReplyNum",
  1228. Handler: _Chat_FindNotReplyNum_Handler,
  1229. },
  1230. {
  1231. MethodName: "CreateScrip",
  1232. Handler: _Chat_CreateScrip_Handler,
  1233. },
  1234. {
  1235. MethodName: "DeleteScrip",
  1236. Handler: _Chat_DeleteScrip_Handler,
  1237. },
  1238. {
  1239. MethodName: "FindMyScrip",
  1240. Handler: _Chat_FindMyScrip_Handler,
  1241. },
  1242. {
  1243. MethodName: "FindOtherScrip",
  1244. Handler: _Chat_FindOtherScrip_Handler,
  1245. },
  1246. {
  1247. MethodName: "FindRecommendScrip",
  1248. Handler: _Chat_FindRecommendScrip_Handler,
  1249. },
  1250. {
  1251. MethodName: "PersonLookScrip",
  1252. Handler: _Chat_PersonLookScrip_Handler,
  1253. },
  1254. {
  1255. MethodName: "PersonClickLookBack",
  1256. Handler: _Chat_PersonClickLookBack_Handler,
  1257. },
  1258. {
  1259. MethodName: "PersonReplyScrip",
  1260. Handler: _Chat_PersonReplyScrip_Handler,
  1261. },
  1262. {
  1263. MethodName: "GetWindowInfo",
  1264. Handler: _Chat_GetWindowInfo_Handler,
  1265. },
  1266. {
  1267. MethodName: "GetRandomMatching",
  1268. Handler: _Chat_GetRandomMatching_Handler,
  1269. },
  1270. {
  1271. MethodName: "GetMatchingPartnerInfo",
  1272. Handler: _Chat_GetMatchingPartnerInfo_Handler,
  1273. },
  1274. {
  1275. MethodName: "PartnerCollect",
  1276. Handler: _Chat_PartnerCollect_Handler,
  1277. },
  1278. {
  1279. MethodName: "PartnerDeleteCollect",
  1280. Handler: _Chat_PartnerDeleteCollect_Handler,
  1281. },
  1282. {
  1283. MethodName: "FindChatCollectList",
  1284. Handler: _Chat_FindChatCollectList_Handler,
  1285. },
  1286. {
  1287. MethodName: "UserUnlockVoice",
  1288. Handler: _Chat_UserUnlockVoice_Handler,
  1289. },
  1290. {
  1291. MethodName: "UserUnlockPicture",
  1292. Handler: _Chat_UserUnlockPicture_Handler,
  1293. },
  1294. {
  1295. MethodName: "GetRoomProfit",
  1296. Handler: _Chat_GetRoomProfit_Handler,
  1297. },
  1298. {
  1299. MethodName: "GetOnlinePersonNum",
  1300. Handler: _Chat_GetOnlinePersonNum_Handler,
  1301. },
  1302. {
  1303. MethodName: "FindUserAllUnreadNum",
  1304. Handler: _Chat_FindUserAllUnreadNum_Handler,
  1305. },
  1306. {
  1307. MethodName: "FindPartnerAllUnreadNum",
  1308. Handler: _Chat_FindPartnerAllUnreadNum_Handler,
  1309. },
  1310. },
  1311. Streams: []grpc.StreamDesc{},
  1312. Metadata: "chat.proto",
  1313. }