Set sender name for CreatureSay method using NpcStringId.
This commit is contained in:
parent
4039b519f2
commit
8779759ad6
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -50,6 +50,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -50,6 +50,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -92,6 +92,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
@ -94,6 +94,10 @@ public class CreatureSay implements IClientOutgoingPacket
|
||||
_sender = sender;
|
||||
_chatType = chatType;
|
||||
_messageId = npcStringId.getId();
|
||||
if (sender != null)
|
||||
{
|
||||
_senderName = sender.getName();
|
||||
}
|
||||
}
|
||||
|
||||
public CreatureSay(ChatType chatType, int charId, SystemMessageId systemMessageId)
|
||||
|
Loading…
Reference in New Issue
Block a user