sharp-chat/SharpChat.SockChat/PacketsS2C/UserChannelLeaveS2CPacket.cs

17 lines
436 B
C#

namespace SharpChat.SockChat.PacketsS2C {
public class UserChannelLeaveS2CPacket : SockChatS2CPacket {
private readonly long UserId;
public UserChannelLeaveS2CPacket(long userId) {
UserId = userId;
}
public override string Pack() {
return string.Format(
"5\t1\t{0}\t{1}",
UserId,
MessageId
);
}
}
}