Example #1
0
 private void a(int A_0, bk A_1)
 {
     if (A_1 == bk.y)
     {
         this.e = A_0;
     }
     if (A_1 == bk.u)
     {
         this.d = A_0;
     }
     if (A_1 == bk.x)
     {
         this.d = A_0;
     }
     if (A_1 == bk.w)
     {
         this.d = A_0;
     }
     if (A_1 == bk.z)
     {
         this.d = A_0;
     }
     if (A_1 == bk.v)
     {
         this.f = A_0;
     }
     if (!this.g.Contains(A_0))
     {
         this.g.Add(A_0);
     }
     b8.a(new PluginCore.EmptyDelegate(this.a), 100);
 }
 public CZoneDetection(bk block)
 {
     this._blockID = block.ID;
     this._capteurID = "";
     this._aiguillageID = "";
     this._longueur = block.len;
 }
Example #3
0
    private void a(object A_0, NetworkMessageEventArgs A_1)
    {
        switch (A_1.get_Message().get_Type())
        {
        case 0x24:
        {
            int num = A_1.get_Message().Value <int>("object");
            this.a(num);
            return;
        }

        case 0xf7b0:
            switch (A_1.get_Message().Value <int>("event"))
            {
            case 0x22:
            {
                int num2 = A_1.get_Message().Value <int>("item");
                this.a(num2);
                return;
            }

            case 0x23:
            {
                int num4 = A_1.get_Message().Value <int>("item");
                bk  bk   = A_1.get_Message().Value <int>("slot");
                this.a(num4, bk);
                return;
            }

            case 410:
            {
                int num3 = A_1.get_Message().Value <int>("item");
                this.a(num3);
                return;
            }
            }
            break;
        }
    }