1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-09 08:52:51 +00:00

Signed-off-by: Rogiel <rogiel@rogiel.com>

This commit is contained in:
2011-05-22 13:53:52 -03:00
parent 0661b41cfd
commit 3554664367
24 changed files with 285 additions and 30 deletions

View File

@@ -20,9 +20,6 @@ import com.l2jserver.model.id.object.CharacterID;
import com.l2jserver.model.id.object.ClanID;
import com.l2jserver.model.world.L2Character;
import com.l2jserver.service.Service;
import com.l2jserver.service.game.chat.channel.ChatChannel;
import com.l2jserver.service.game.chat.channel.PrivateChatChannel;
import com.l2jserver.service.game.chat.channel.PublicChatChannel;
/**
* This service chatting in the server
@@ -47,11 +44,14 @@ public interface ChatService extends Service {
* if trying to send a private message to self
* @throws ChatBanActiveChatServiceException
* if there is chat ban active
* @throws ChatTargetOfflineServiceException
* if the chat target is offline
*/
void send(CharacterID sender, ChatMessageDestination chat, String message,
String extra) throws TargetNotFoundChatServiceException,
CannotChatToSelfChatServiceException,
ChatBanActiveChatServiceException;
ChatBanActiveChatServiceException,
ChatTargetOfflineServiceException;
/**
* Get the Global {@link ChatChannel}. Messages sent in this chat are