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