17 lines
427 B
C#
17 lines
427 B
C#
namespace SharpChat.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
|
|
);
|
|
}
|
|
}
|
|
}
|