苏飞论坛

标题: 火警抢购顺序修改求助 [打印本页]

作者: paywoll    时间: 2014-4-22 16:52
标题: 火警抢购顺序修改求助
大侠研究下怎么改

[C#] 纯文本查看 复制代码
private Class147 method_9()
{
    Class147 class2 = null;
    if (!this.Boolean_1)
    {
        return this.method_10(true, new string[] { "小米&电信|红米&联通|红米&电信|红米&移动" });
    }
    if (!(!bool_0 || this.Boolean_0))
    {
        return this.method_10(true, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信", "星空灰", "白" });
    }
    if (Class4.smethod_0() || this.bool_3)
    {
        class2 = this.method_10(false, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信" });
    }
    else
    {
        class2 = this.method_10(false, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信" });
    }
    if (func_4 == null)
    {
        func_4 = new Func<Class147, bool>(Class149.smethod_4);
    }
    int num3 = this.gclass5_0.list_1.Count<Class147>(func_4);
    int num2 = 0;
    if (DateTime.Now.Hour == 12)
    {
        num2 = DateTime.Now.Minute / 3;
    }
    else if (DateTime.Now.Hour == 15)
    {
        num2 = DateTime.Now.Minute / 3;
    }
    else
    {
        num2 = 5;
    }
    if (((((class2 != null) && !class2.String_1.Contains("红米")) && (!class2.String_1.Contains("紅米") && !class2.String_1.Contains("电信"))) && (!class2.String_1.Contains("星空灰") && !class2.String_1.Contains("白"))) && (num3 <= num2))
    {
        return null;
    }
    return class2;
}




  private Class147 method_9()
{
    Class147 class2 = null;
    if (!this.Boolean_1)
    {
        return this.method_10(true, new string[] { "小米&电信|红米&联通|红米&电信|红米&移动" });
    }
    if (!(!bool_0 || this.Boolean_0))
    {
        return this.method_10(true, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信", "星空灰", "白" });
    }
    if (Class4.smethod_0() || this.bool_3)
    {
        class2 = this.method_10(false, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信" });
    }
    else
    {
        class2 = this.method_10(false, new string[] { "紅米|note|Note", "红米&移动", "红米&电信", "小米&电信", "红米|电信" });
    }
    if (func_4 == null)
    {
        func_4 = new Func<Class147, bool>(Class149.smethod_4);
    }
    int num3 = this.gclass5_0.list_1.Count<Class147>(func_4);
    int num2 = 0;
    if (DateTime.Now.Hour == 12)
    {
        num2 = DateTime.Now.Minute / 3;
    }
    else if (DateTime.Now.Hour == 15)
    {
        num2 = DateTime.Now.Minute / 3;
    }
    else
    {
        num2 = 5;
    }
    if (((((class2 != null) && !class2.String_1.Contains("红米")) && (!class2.String_1.Contains("紅米") && !class2.String_1.Contains("电信"))) && (!class2.String_1.Contains("星空灰") && !class2.String_1.Contains("白"))) && (num3 <= num2))
    {
        return null;
    }
    return class2;
}





作者: cxg1228    时间: 2014-4-22 18:55





欢迎光临 苏飞论坛 (http://www.sufeinet.com/) Powered by Discuz! X3.4