15 lines
386 B
C#
15 lines
386 B
C#
using System;
|
|
|
|
namespace SharpChat.Packet {
|
|
public class UserChannelForceJoinPacket : ServerPacket {
|
|
private readonly string ChannelName;
|
|
|
|
public UserChannelForceJoinPacket(string channelName) {
|
|
ChannelName = channelName;
|
|
}
|
|
|
|
public override string Pack() {
|
|
return string.Format("5\t2\t{0}", ChannelName);
|
|
}
|
|
}
|
|
}
|