using ODMO.Commons.Enums.ClientEnums;
using ODMO.Commons.Writers;
namespace ODMO.Commons.Packets.Chat
{
public class NeonMessagePacket : PacketWriter
{
private const int PacketNumber = 16034;
///
/// Sends the neon message to the target chat.
///
/// The target neon enumeration
/// Receiver tamer name
/// The neon message origin identifier
/// The neon message result identifier
public NeonMessagePacket(NeonMessageTypeEnum neonType, string tamerName, int sourceIdentifier, int resultIdentifier)
{
Type(PacketNumber);
WriteShort((short)neonType);
WriteString(tamerName);
WriteInt(sourceIdentifier);
WriteInt(resultIdentifier);
}
}
}