ChatSystemHandler.java 768 Bytes
Newer Older
1
package emu.grasscutter.game.chat;
2
3
4
5

import emu.grasscutter.game.player.Player;
import emu.grasscutter.server.game.GameServer;

6
public interface ChatSystemHandler {
7
8
9
10
11
    GameServer getServer();
    void sendPrivateMessage(Player player, int targetUid, String message);
    void sendPrivateMessage(Player player, int targetUid, int emote);
    void sendTeamMessage(Player player, int channel, String message);
    void sendTeamMessage(Player player, int channel, int icon);
12
13
14
15
16
    void sendPrivateMessageFromServer(int targetUid, String message);
    void sendPrivateMessageFromServer(int targetUid, int emote);
    void handlePullPrivateChatReq(Player player, int targetUid);
    void clearHistoryOnLogout(Player player);
    void handlePullRecentChatReq(Player player);
17
}