sharp-chat/SharpChat/PacketsS2C/FloodWarningS2CPacket.cs

11 lines
335 B
C#

namespace SharpChat.PacketsS2C {
public class FloodWarningS2CPacket : SockChatTimedS2CPacket {
public override string Pack() {
return string.Format(
"2\t{0}\t-1\t0\fflwarn\t{1}\t10010",
TimeStamp.ToUnixTimeSeconds(),
MessageId
);
}
}
}