public HandshakeReq(string version) { header = new PacketHeader {packetType = PacketType.PKT_HandshakeReq}; this.version = version; }
public AuthReq(string username, string password) { header = new PacketHeader {packetType = PacketType.PKT_AuthReq}; this.username = username; this.password = password; }