sharp-chat/SharpChat/Packet/UserChannelLeavePacket.cs

14 lines
351 B
C#

namespace SharpChat.Packet {
public class UserChannelLeavePacket : ServerPacket {
private readonly long UserId;
public UserChannelLeavePacket(long userId) {
UserId = userId;
}
public override string Pack() {
return string.Format("5\t1\t{0}\t{1}", UserId, SequenceId);
}
}
}