26 lines
1.1 KiB
C#
26 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace game
|
|
{
|
|
public interface IChatService
|
|
{
|
|
//Task LoginRTM(int timeOut); //登录云上曲率服务器
|
|
void WaitingForLogin();
|
|
void GetConversationList(long groupConversationId); //登出云上曲率服务器
|
|
Task<HashSet<long>> GetOnlineUsers(List<long> playerIDs); //获取在线用户
|
|
ChatChatData GetGroupChat();
|
|
void OnQuit();
|
|
void InitChatData();
|
|
void NextPage(); //下一页 上滑
|
|
string[] ParseChat(string chat); //解析消息
|
|
void SendTxTMessage(string chat); //发送文本消息
|
|
void SendEmoji(string chat); //发送表情
|
|
void SendSystemMessage(string chat); //发送系统提示
|
|
void SendSystemMessage2(string chat); //发送系统提示
|
|
Task<long> SendGetPhotoMessage(string chat); //发送求助帖
|
|
Task<long> SendHelpEnergyMessage(int itemId); //发送体力求助帖
|
|
Task<bool> TextAudit(string text); //审核文本
|
|
}
|
|
}
|