using ODMO.Commons.Writers;
namespace ODMO.Commons.Packets.Chat
{
public class GuildMessagePacket : PacketWriter
{
private const int PacketNumber = 2114;
///
/// Sends the message to the entire guild.
///
/// The name of the guild member who's sent the message.
/// The sent message.
public GuildMessagePacket(string senderName, string message)
{
Type(PacketNumber);
WriteString(senderName);
WriteString(message);
}
}
}