Sync with L2JServer Feb 7th 2015.

This commit is contained in:
mobius
2015-02-07 23:48:56 +00:00
parent 1e166ca657
commit ecd17fdefb
1949 changed files with 3120 additions and 33466 deletions

View File

@ -18,6 +18,7 @@
*/
package com.l2jserver.gameserver.model.events.impl.character.player;
import com.l2jserver.gameserver.enums.ChatType;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.events.EventType;
import com.l2jserver.gameserver.model.events.impl.IBaseEvent;
@ -30,9 +31,9 @@ public class OnPlayerChat implements IBaseEvent
private final L2PcInstance _activeChar;
private final L2PcInstance _target;
private final String _text;
private final int _type;
private final ChatType _type;
public OnPlayerChat(L2PcInstance activeChar, L2PcInstance target, String text, int type)
public OnPlayerChat(L2PcInstance activeChar, L2PcInstance target, String text, ChatType type)
{
_activeChar = activeChar;
_target = target;
@ -55,7 +56,7 @@ public class OnPlayerChat implements IBaseEvent
return _text;
}
public int getChatType()
public ChatType getChatType()
{
return _type;
}