21 lines
479 B
C#
21 lines
479 B
C#
using System.Text;
|
|
|
|
namespace SharpChat.Packet {
|
|
public class ChatMessageDeletePacket : ServerPacket {
|
|
public long EventId { get; private set; }
|
|
|
|
public ChatMessageDeletePacket(long eventId) {
|
|
EventId = eventId;
|
|
}
|
|
|
|
public override string Pack() {
|
|
StringBuilder sb = new();
|
|
|
|
sb.Append('6');
|
|
sb.Append('\t');
|
|
sb.Append(EventId);
|
|
|
|
return sb.ToString();
|
|
}
|
|
}
|
|
}
|