sharp-chat/SharpChat/PacketsS2C/ChannelNameFormatErrorS2CPacket.cs

11 lines
345 B
C#

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