sharp-chat/SharpChat/PacketsS2C/KickBanNoRecordErrorS2CPacket.cs

18 lines
535 B
C#

namespace SharpChat.PacketsS2C {
public class KickBanNoRecordErrorS2CPacket : SockChatTimedS2CPacket {
private readonly string TargetName;
public KickBanNoRecordErrorS2CPacket(string targetName) {
TargetName = targetName;
}
public override string Pack() {
return string.Format(
"2\t{0}\t-1\t1\fnotban\f{1}\t{2}\t10010",
TimeStamp.ToUnixTimeSeconds(),
TargetName,
MessageId
);
}
}
}