public static void LoginR_Fail(LoginClient client, LoginResult result) { var packet = new Packet(Op.LoginR, MabiId.Login); packet.PutByte((byte)result); if (result == LoginResult.SecondaryFail) { packet.PutInt(12); packet.PutByte(1); // TODO: Number of fail attempts } client.Send(packet); }