📄 s.java
字号:
Pica.al = s11;
if (s19 != null && s19.length() > 0)
Pica.an = Integer.parseInt(s19);
Pica.ao = s20;
int i1;
try
{
if (s12 == null || s12.length() == 0)
Pica.am = 0;
else
if ((i1 = Integer.parseInt(s12)) < 0 || i1 >= 9)
Pica.am = 0;
else
Pica.am = i1;
}
catch (Exception e)
{
Pica.am = 0;
}
try
{
Pica.h.e("available", null);
return;
}
catch (Exception e)
{
return;
}
}
if (s21.indexOf("@cluster.pica") != -1)
{
String s24 = s21.indexOf('%') != -1 ? s21.substring(0, s21.indexOf('%')) : s21;
String s26 = null;
if (s2 != null)
s26 = s2.indexOf("@pica") != -1 ? s2.substring(0, s2.indexOf("@pica")) : s2;
if (s26 != null && s26.length() > 0 && s26.equals(s24))
{
Pica.ap = s4;
if (s16.equals("M"))
Pica.aq = "男";
else
Pica.aq = "女";
Pica.ar = s17;
Pica.as = s9;
Pica.at = s11;
Pica.L = true;
} else
if (s1.indexOf("%") != -1 && s26 != null && s26.length() > 0 && !s26.equals(s24) && !s21.equals(Pica.M))
{
if (s16.equals("M"))
s16 = "男";
else
s16 = "女";
b(s24, s4, s16, s17, s9, s11);
} else
if (s2 != null)
if (Pica.M != null && s21.equals(Pica.M))
{
Pica.au = s4;
Pica.av = s13;
Pica.aw = s15;
Pica.ax = s11;
Pica.ay = s18;
} else
{
a(s1, s4, s13, s14, s15, s11);
}
return;
}
if (s7 == null || s7.length() == 0)
s7 = "保密";
if (s6 == null || s6.length() == 0)
s6 = "保密";
if (s8 == null || s8.length() == 0)
s8 = "保密";
a(s21, s4, s8, s7, s6, s11, s19, s20);
}
private static void a(String s1, String s2, String s3, String s4, String s5, String s6, String s7, String s8)
{
String s9 = null;
Object obj = null;
if (s1.indexOf("qq.pica") != -1)
s9 = "QQ号:";
else
s9 = "PICA号:";
if (s6 == null || s6.length() == 0)
s6 = "天天PICA,天天好心情";
if (s1.endsWith("@qq.pica"))
{
s9 = "\n" + s9 + s1.substring(0, s1.indexOf('@')) + "\n" + "昵称:" + s2;
String s11 = "\n" + s8 + "\n" + "性别:" + s4 + "\n" + "年龄:" + s5 + "\n" + "地区:" + s3 + "\n" + "个人说明:" + s6;
w.a(s9, 0, s11);
return;
}
if (s1.endsWith("@pica") || s1.endsWith("@qq.pica"))
{
int l = Integer.parseInt(s7);
s9 = "\n" + s9 + s1.substring(0, s1.indexOf('@')) + "\n" + "昵称:" + s2;
String s12 = "\n" + s8 + "\n" + "性别:" + s4 + "\n" + "年龄:" + s5 + "\n" + "地区:" + s3 + "\n" + "个人说明:" + s6;
w.a(s9, l, s12);
return;
} else
{
String s10 = "\n" + Pica.m.b(s1).a + "\n频道说明:" + s6;
w.al("频道说明", s10, null, 3);
return;
}
}
private static void b(String s1, String s2, String s3, String s4, String s5, String s6)
{
StringBuffer stringbuffer;
(stringbuffer = new StringBuffer()).append("\nPICA号:");
stringbuffer.append(s1);
stringbuffer.append("\n真实姓名:");
stringbuffer.append(s2);
stringbuffer.append("\n性别:");
stringbuffer.append(s3);
stringbuffer.append("\n电话号码:");
stringbuffer.append(s4);
stringbuffer.append("\n电子邮件:");
stringbuffer.append(s5);
stringbuffer.append("\n个人说明:");
stringbuffer.append(s6);
w.al("群名片", stringbuffer.toString(), null, 3);
}
public static void a(String s1, String s2, String s3, String s4, String s5, String s6)
{
String s7 = s1.indexOf('%') != -1 ? s1.substring(s1.indexOf('%') + 1, s1.indexOf('@')) : s1.substring(0, s1.indexOf('@'));
StringBuffer stringbuffer;
(stringbuffer = new StringBuffer()).append("\n群号:");
stringbuffer.append(s7);
stringbuffer.append("\n群名称:");
stringbuffer.append(s2);
stringbuffer.append("\n群主:");
if (s4.indexOf("@pica") != -1)
stringbuffer.append(s4.substring(0, s4.indexOf("@pica")));
stringbuffer.append("\n群类别:");
stringbuffer.append(s3);
stringbuffer.append("\n验证方式:");
if (s5.equals("open"))
stringbuffer.append("自由加入");
else
if (s5.equals("auth"))
stringbuffer.append("需认证");
else
if (s5.equals("close"))
stringbuffer.append("禁止加入");
stringbuffer.append("\n群描述:");
stringbuffer.append(s6);
w.al("群资料", stringbuffer.toString(), null, 3);
}
public final void g(String s1)
{
if (Pica.h.b)
return;
try
{
Pica.m.d(s1);
return;
}
catch (Exception e)
{
return;
}
}
public final void e()
throws Exception
{
if (!d)
{
Pica.k.a("登录成功");
Pica.k.b();
Pica.aQ = false;
d = true;
Pica.l.a(0);
Pica.j.setCurrent(Pica.l);
q.j();
w.p();
Pica.af = true;
if (Pica.af && !Pica.ag.isEmpty())
w.b();
Pica.o.a(g.b, (byte)-1);
}
}
public final void a(String s1, String s2, String s3, String s4, byte byte0)
{
if (Pica.h.b)
return;
try
{
String s5 = s1.indexOf('/') != -1 ? s1.substring(0, s1.indexOf('/')) : s1;
if (s2 != null)
s2 = s2.toLowerCase();
if (s3 != null)
s3 = s3.toLowerCase();
if (s4 != null)
s4 = s4.toLowerCase();
if (s2 != null && s2.equals("subscribe"))
b(s5, s3);
else
if (s2 == null || !s2.equals("unsubscribe"))
{
m m1 = Pica.m.b(s5);
String s6 = "";
try
{
s6 = s5.substring(0, s5.indexOf('@')).replace('%', '@');
}
catch (Exception e) { }
if (s3 != null && s3.length() > 0)
s6 = s3;
else
if (c.containsKey(s5))
s6 = (String)c.get(s5);
if (s5.endsWith("qq.pica"))
{
if (s5.toLowerCase().equals("qq.pica") && (s2 == null || !s2.equals("unavailable") && !s2.equals("unsubscribed")))
{
Pica.aF = 0;
Pica.m.a(new c("QQ", (byte)16));
Pica.l.a(0);
}
if (s5.endsWith("@qq.pica") || s5.endsWith("@cluster.qq.pica"))
{
Pica.m.a(s5, s6, "QQ", (byte)2, (byte)16, (byte)0, (String[][])null, false, "", "", "");
m1 = Pica.m.b(s5);
} else
if (s2 != null && s5.toLowerCase().equals("qq.pica") && (s2.equals("unavailable") || s2.equals("unsubscribed")))
{
Pica.aF = 15;
c.clear();
Pica.m.a("QQ", (byte)16);
Pica.l.a(0);
}
}
if (s5.endsWith("msn.pica"))
{
if (s5.toLowerCase().equals("msn.pica") && (s2 == null || !s2.equals("unavailable") && !s2.equals("unsubscribed")))
{
Pica.aG = 0;
Pica.m.a(new c("MSN", (byte)32));
Pica.l.a(0);
}
if (s5.endsWith("@msn.pica"))
{
Pica.m.a(s5, s6, "MSN", (byte)2, (byte)32, (byte)0, (String[][])null, false, "", "", "");
m1 = Pica.m.b(s5);
} else
if (s2 != null && s5.toLowerCase().equals("msn.pica") && (s2.equals("unavailable") || s2.equals("unsubscribed")))
{
Pica.aG = 15;
c.clear();
Pica.m.a("MSN", (byte)32);
Pica.l.a(0);
}
}
if (m1 != null)
{
m1.p = byte0;
if (s4 == null)
m1.s = 0;
else
if (s4.equals("dnd"))
m1.s = 2;
else
if (s4.equals("away") || s4.equals("xa"))
m1.s = 1;
else
if (s4.equals("iv"))
m1.s = 15;
if (s2 != null && (s2.equals("unavailable") || s2.equals("unsubscribed")))
m1.s = 15;
if (s2 != null && s2.equals("unsubscribed"))
{
g(((o) (m1)).j);
if (s3 != null && s3.toLowerCase().equals("not found"))
{
Alert alert = new Alert("提示", "PICA号:" + s5.substring(0, s5.indexOf("@")) + "不存在!", null, AlertType.INFO);
Pica.j.setCurrent(alert, Pica.l);
}
if ((s5.equals(Pica.ae) || s5.indexOf(Pica.ae) != -1) && !s3.toLowerCase().equals("autoreply") && !s3.toLowerCase().equals("not found"))
{
String s7 = s5.indexOf('@') != -1 ? s5.substring(0, s5.indexOf('@')) : s5;
Alert alert1;
(alert1 = new Alert("提示", "", null, AlertType.INFO)).setString("用户" + s7 + "拒绝了你的验证请求!");
alert1.setTimeout(3000);
Pica.j.setCurrent(alert1, Pica.l);
}
} else
if (s2 == null || s2.equals("available") || s2.equals("unavailable"))
Pica.m.a(m1);
}
}
return;
}
catch (Exception e)
{
return;
}
}
public final void a(String s1, String s2, String s3, String s4, String s5, String s6, Date date,
String as[][], String s7, String s8)
{
if (Pica.h.b)
return;
String s9 = null;
p p1;
af af1;
try
{
s9 = s1;
if ((s1 = s1.indexOf('/') != -1 ? s1.substring(0, s1.indexOf('/')) : s1).equals("qq.pica"))
return;
}
catch (Exception e)
{
return;
}
if (s1.equals("msn.pica"))
return;
Pica.f();
if (s1.indexOf("cluster") != -1 || s1.indexOf("@game.pica") != -1)
{
if (s9.indexOf(i.b) != -1)
{
Pica.f.a(true, s9, s3, s4, s5, s6, date, s8);
if (s1.indexOf("@game.pica") != -1 && s1.indexOf("%") == -1)
{
AlertType.ALARM.playSound(Pica.j);
AlertType.WARNING.playSound(Pica.j);
AlertType.INFO.playSound(Pica.j);
AlertType.WARNING.playSound(Pica.j);
AlertType.INFO.playSound(Pica.j);
}
Pica.l.a(Pica.f);
}
} else
{
(p1 = new p(-1, s1, s2, s3, s4, s5, s6, 0, as, s7)).t = Pica.b(s1);
if (date != null)
p1.vd = date;
if (pica.j.a(p1))
Pica.a(p1);
Pica.e.a(p1, false);
k(s1);
if (w.kbb && System.currentTimeMillis() - e > 3000L)
{
AlertType.ALARM.playSound(Pica.j);
AlertType.WARNING.playSound(Pica.j);
AlertType.INFO.playSound(Pica.j);
AlertType.WARNING.playSound(Pica.j);
AlertType.INFO.playSound(Pica.j);
}
if (Pica.Y < 0)
Pica.Y = 9;
if (b == null)
{
b = new Timer();
af1 = new af();
b.schedule(af1, 100L, 400L);
}
e = System.currentTimeMillis();
Pica.l.a(Pica.e);
}
return;
}
private static void k(String s1)
{
if (s1.indexOf("@pica") > 0)
{
String s2 = s1.substring(0, s1.indexOf("@"));
m m1;
if ((m1 = Pica.m.b(s1)) == null)
Pica.m.a(s1, s2, "陌生人", (byte)6, (byte)8, (byte)0, (String[][])null, false, "", "", "");
}
}
public static void a(String s1, String s2)
{
w.a(s2, 3000, Pica.j.getCurrent());
if (s1.equals("qq.pica"))
{
Pica.aF = 15;
Pica.l.a(0);
return;
}
if (s1.equals("msn.pica"))
{
Pica.aG = 15;
Pica.l.a(0);
}
}
private void b(String s1, String s2)
{
if (Pica.h.b)
return;
if (Pica.m == null)
return;
try
{
if (s1.toLowerCase().equals("qq.pica"))
Pica.h.a(s1, "subscribed", null, null, 0);
else
if (s1.toLowerCase().equals("msn.pica"))
{
Pica.h.a(s1, "subscribed", null, null, 0);
} else
{
Pica.j.getCurrent();
if (Pica.m.e(s1) || w.j == 1)
{
if (!Pica.m.e(s1))
{
Alert alert;
(alert = new Alert("提示", "", null, AlertType.INFO)).setString("用户" + (s1.indexOf('@') != -1 ? s1.substring(0, s1.indexOf('@')) : s1) + "将你加为好友!");
alert.setTimeout(-2);
Pica.j.setCurrent(alert, Pica.l);
}
Pica.h.a(s1, "subscribed", null, null, 0);
} else
if (w.j == 0)
{
Pica.ag.addElement(s1 + "#" + s2);
if (Pica.af)
{
if (!(Pica.j.getCurrent() instanceof v) && !(Pica.j.getCurrent() instanceof ae))
{
Pica.l.s = Pica.j.getCurrent();
Pica.j.setCurrent(Pica.l);
}
w.b();
}
} else
if (w.j == 2)
Pica.h.a(s1, "unsubscribed", null, null, 0);
}
return;
}
catch (Exception e)
{
return;
}
}
private void f()
{
a = -1;
Pica.l.d.removeAllElements();
if (b != null)
b.cancel();
}
public static void h(String s1)
{
String s2;
if ((s2 = s1.substring(0, s1.indexOf("%"))).equals(w.ls))
{
Pica.h.e();
if (Pica.aS != null)
{
Pica.aS = null;
Pica.M = null;
if (Pica.l.d.contains(Pica.K))
{
Pica.l.d.removeElement(Pica.K);
Pica.K = null;
}
if (Pica.l.d.contains(Pica.f))
{
Pica.l.d.removeElement(Pica.f);
Pica.f = null;
}
Pica.l.d.insertElementAt(Pica.J, 2);
Pica.l.a(2);
Pica.f();
Pica.j.setCurrent(Pica.l);
return;
}
} else
{
Pica.K.b(s1);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -