sharp-chat/SharpChat/PacketsS2C/PardonResponseS2CPacket.cs

18 lines
507 B
C#

namespace SharpChat.PacketsS2C {
public class PardonResponseS2CPacket : SockChatTimedS2CPacket {
private readonly string Subject;
public PardonResponseS2CPacket(string subject) {
Subject = subject;
}
public override string Pack() {
return string.Format(
"2\t{0}\t-1\t0\funban\f{1}\t{2}\t10010",
TimeStamp.ToUnixTimeSeconds(),
Subject,
MessageId
);
}
}
}