Пример #1
0
    private void a()
    {
        bf bf = new bf();

        bf.b(Path.Combine(PluginCore.ci, this.j()));
        this.c.Clear();
        if (!bf.ContainsKey("CondAct"))
        {
            a5.a(eChatType.Errors, "Meta file load: DB format invalid.");
            this.c.Clear();
        }
        else
        {
            a0 a = bf["CondAct"];
            for (int i = 0; i < a.c(); i++)
            {
                fl fl = cl.a((c3)k.e(a.d()[i][0]));
                b3 b  = cl.a((ep)k.e(a.d()[i][1]));
                if ((b == null) || (fl == null))
                {
                    a5.a(eChatType.Errors, "Meta file load: unsupported cond/act type.");
                    this.c.Clear();
                    return;
                }
                fl.h(a.d()[i][2]);
                b.h(a.d()[i][3]);
                string key = k.b(a.d()[i][4]);
                if (!this.c.ContainsKey(key))
                {
                    this.c[key] = new List <d8>();
                }
                this.c[key].Add(new d8(fl, b, key));
            }
        }
    }
Пример #2
0
 public void b(a0 A_0)
 {
     this.e.Clear();
     foreach (v v in A_0.d())
     {
         this.e.Add(new dl.c(k.e(v[0]), k.e(v[1])));
         PluginCore.cq.n.b(k.e(v[0]));
     }
 }
Пример #3
0
    public override void a(k A_0)
    {
        a0 a = A_0.c() as a0;

        if (((a != null) && (a.a() == 2)) && (a.c() == 1))
        {
            v v = a.d()[0];
            this.a = cl.a((c3)k.e(v[0]));
            this.a.h(v[1]);
            this.a.a(this);
        }
    }
Пример #4
0
    public override void a(k A_0)
    {
        this.a();
        a0 a = A_0.c() as a0;

        if ((a != null) && (a.a() >= 2))
        {
            foreach (v v in a.d())
            {
                string str = k.b(v[0]);
                k      k   = v[1];
                this.a[str] = k;
            }
        }
    }
Пример #5
0
        public void a(k A_0)
        {
            this.a.Clear();
            a0 a = A_0.c() as a0;

            if (a != null)
            {
                foreach (v v in a.d())
                {
                    T item = cl.Create <T>(k.e(v[0]));
                    item.h(v[1]);
                    item.a(this);
                    this.a.Add(item);
                }
            }
        }
 internal void a(k A_0)
 {
     this.a();
     if (A_0 != null)
     {
         a0 a = A_0.c() as a0;
         if (a != null)
         {
             foreach (v v in a.d())
             {
                 uTank2.cRechargeManager.a item = new uTank2.cRechargeManager.a {
                     c = this.a(k.b(v[1])),
                     a = k.e(v[2]),
                     b = k.e(v[3]),
                     d = (eRechargeStance)k.e(v[4])
                 };
                 this.b[(eRechargeVital_Single)k.e(v[0])].Add(item);
             }
         }
     }
 }