Esempio n. 1
0
    // Token: 0x060014AC RID: 5292 RVA: 0x0008FA44 File Offset: 0x0008DC44
    public override void vmethod_8(Vector3 vector3_0, byte byte_0, GClass6 gclass6_0, bool bool_0, int int_0, float float_0)
    {
        int  num = 0;
        byte b   = (byte)(gclass6_0.byte_0 >> 0 & 0 << (int)(byte_0 & 96));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 1) & 0 << (int)(byte_0 & 67));

        if (b2 != 0 && b != 0)
        {
            num = 8;
        }
        else if (b2 != 0)
        {
            num = 0;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 7;
        Color color = new Color(457f, 692f, 1987f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(1618f, 1755f, 31f, 312f * float_0);
        this.HOPO.color           = new Color(132f, 1932f, 429f, 869f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 0;
        this.SP_Rim.sortingOrder  = int_0 + 4;
        this.SP_Bolt.sortingOrder = int_0 + 3;
        this.SP_Rim.sprite        = null;
        this.HOPO.sprite          = null;
        this.SP_Bolt.sprite       = null;
        if (gclass6_0.Boolean_7)
        {
            this.HOPO.sprite = this.sprite_0[num + 1];
        }
        else if (gclass6_0.method_15())
        {
            this.HOPO.sprite = this.sprite_0[num + 3];
        }
        if (bool_0)
        {
            this.SP_Rim.sprite = this.sprite_0[num + -16];
        }
        if (gclass6_0.Boolean_3)
        {
            this.SP_Bolt.sprite = this.sprite_0[-87];
        }
        this.Body.sprite = this.sprite_0[num];
    }
Esempio n. 2
0
    // Token: 0x060014A1 RID: 5281 RVA: 0x0008ED10 File Offset: 0x0008CF10
    public virtual void vmethod_78(Vector3 vector3_0, byte byte_0, GClass6 gclass6_0, bool bool_0, int int_0, float float_0)
    {
        int  num = 0;
        byte b   = (byte)(gclass6_0.byte_0 >> 4 & 0 << (int)(byte_0 & 79));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 2) & 1 << ((int)byte_0 & -117));

        if (b2 != 0 && b != 0)
        {
            num = 1;
        }
        else if (b2 != 0)
        {
            num = 1;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 6;
        Color color = new Color(1385f, 997f, 544f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(1559f, 1133f, 1092f, 799f * float_0);
        this.HOPO.color           = new Color(1621f, 780f, 633f, 1052f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 1;
        this.SP_Rim.sortingOrder  = int_0 + 0;
        this.SP_Bolt.sortingOrder = int_0 + 8;
        this.SP_Rim.sprite        = null;
        this.HOPO.sprite          = null;
        this.SP_Bolt.sprite       = null;
        if (gclass6_0.Boolean_7)
        {
            this.HOPO.sprite = this.sprite_0[num + 1];
        }
        else if (gclass6_0.method_15())
        {
            this.HOPO.sprite = this.sprite_0[num + 1];
        }
        if (bool_0)
        {
            this.SP_Rim.sprite = this.sprite_0[num + -64];
        }
        if (gclass6_0.Boolean_3)
        {
            this.SP_Bolt.sprite = this.sprite_0[-103];
        }
        this.Body.sprite = this.sprite_0[num];
    }
Esempio n. 3
0
    // Token: 0x060014AA RID: 5290 RVA: 0x0008F7F8 File Offset: 0x0008D9F8
    public override void vmethod_30(Vector3 vector3_0, byte byte_0, GClass6 gclass6_0, bool bool_0, int int_0, float float_0)
    {
        int  num = 0;
        byte b   = (byte)(gclass6_0.byte_0 >> 2 & 1 << ((int)byte_0 & -17));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 3) & 1 << ((int)byte_0 & -77));

        if (b2 != 0 && b != 0)
        {
            num = 7;
        }
        else if (b2 != 0)
        {
            num = 1;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 2;
        Color color = new Color(1796f, 354f, 851f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(767f, 309f, 1215f, 238f * float_0);
        this.HOPO.color           = new Color(1241f, 507f, 1023f, 1424f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 1;
        this.SP_Rim.sortingOrder  = int_0 + 5;
        this.SP_Bolt.sortingOrder = int_0 + 6;
        this.SP_Rim.sprite        = null;
        this.HOPO.sprite          = null;
        this.SP_Bolt.sprite       = null;
        if (gclass6_0.byte_0 == 54)
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[-26];
            }
            else if (gclass6_0.Boolean_6)
            {
                this.HOPO.sprite = this.sprite_0[-32];
            }
            if (bool_0)
            {
                this.Body.sprite = this.sprite_0[-128];
            }
            else
            {
                this.Body.sprite = this.sprite_0[-32];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[57];
                return;
            }
        }
        else
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[num + 7];
            }
            else if (gclass6_0.method_15())
            {
                this.HOPO.sprite = this.sprite_0[num + 8];
            }
            if (bool_0)
            {
                this.SP_Rim.sprite = this.sprite_0[num + 85];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[-71];
            }
            this.Body.sprite = this.sprite_0[num];
        }
    }
Esempio n. 4
0
    // Token: 0x060014A4 RID: 5284 RVA: 0x0008F360 File Offset: 0x0008D560
    public virtual void vmethod_79(Vector3 vector3_0, byte byte_0, GClass6 gclass6_0, bool bool_0, int int_0, float float_0)
    {
        int  num = 0;
        byte b   = (byte)(gclass6_0.byte_0 >> 2 & 1 << (int)(byte_0 & 51));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 6) & 0 << ((int)byte_0 & -49));

        if (b2 != 0 && b != 0)
        {
            num = 6;
        }
        else if (b2 != 0)
        {
            num = 1;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 5;
        Color color = new Color(567f, 1118f, 1627f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(1254f, 1442f, 1187f, 688f * float_0);
        this.HOPO.color           = new Color(1026f, 955f, 1468f, 1748f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 1;
        this.SP_Rim.sortingOrder  = int_0 + 6;
        this.SP_Bolt.sortingOrder = int_0 + 4;
        this.SP_Rim.sprite        = null;
        this.HOPO.sprite          = null;
        this.SP_Bolt.sprite       = null;
        if (gclass6_0.byte_0 == 99)
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[-30];
            }
            else if (gclass6_0.method_15())
            {
                this.HOPO.sprite = this.sprite_0[100];
            }
            if (bool_0)
            {
                this.Body.sprite = this.sprite_0[72];
            }
            else
            {
                this.Body.sprite = this.sprite_0[-98];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[40];
                return;
            }
        }
        else
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[num + 5];
            }
            else if (gclass6_0.method_8())
            {
                this.HOPO.sprite = this.sprite_0[num + 8];
            }
            if (bool_0)
            {
                this.SP_Rim.sprite = this.sprite_0[num + 90];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[-111];
            }
            this.Body.sprite = this.sprite_0[num];
        }
    }