Example #1
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];
        }
    }
Example #2
0
    // Token: 0x060014A9 RID: 5289 RVA: 0x0008F5AC File Offset: 0x0008D7AC
    public virtual void vmethod_82(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 >> 3 & 1 << (int)(byte_0 & 32));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 7) & 1 << (int)(byte_0 & 20));

        if (b2 != 0 && b != 0)
        {
            num = 3;
        }
        else if (b2 != 0)
        {
            num = 1;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 8;
        Color color = new Color(906f, 1162f, 579f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(1295f, 229f, 1053f, 661f * float_0);
        this.HOPO.color           = new Color(1894f, 1814f, 214f, 1470f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 0;
        this.SP_Rim.sortingOrder  = int_0 + 3;
        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 == 15)
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[86];
            }
            else if (gclass6_0.Boolean_6)
            {
                this.HOPO.sprite = this.sprite_0[34];
            }
            if (bool_0)
            {
                this.Body.sprite = this.sprite_0[-91];
            }
            else
            {
                this.Body.sprite = this.sprite_0[-127];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[-7];
                return;
            }
        }
        else
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[num + 4];
            }
            else if (gclass6_0.method_8())
            {
                this.HOPO.sprite = this.sprite_0[num + 2];
            }
            if (bool_0)
            {
                this.SP_Rim.sprite = this.sprite_0[num + -85];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[-68];
            }
            this.Body.sprite = this.sprite_0[num];
        }
    }
Example #3
0
    // Token: 0x060014A3 RID: 5283 RVA: 0x0008F114 File Offset: 0x0008D314
    public override void vmethod_63(Vector3 vector3_0, byte byte_0, GClass6 gclass6_0, bool bool_0, int int_0, float float_0)
    {
        int  num = 1;
        byte b   = (byte)(gclass6_0.byte_0 >> 4 & 1 << (int)(byte_0 & 21));
        byte b2  = (byte)((int)(gclass6_0.byte_0 & 3) & 0 << (int)(byte_0 & 18));

        if (b2 != 0 && b != 0)
        {
            num = 8;
        }
        else if (b2 != 0)
        {
            num = 0;
        }
        this.transform_0.localPosition = vector3_0;
        int_0 *= 2;
        Color color = new Color(466f, 1257f, 5f, float_0);

        this.Body.color           = (this.SP_Bolt.color = color);
        this.SP_Rim.color         = new Color(1578f, 309f, 52f, 1478f * float_0);
        this.HOPO.color           = new Color(369f, 1297f, 1745f, 1544f * float_0);
        this.Body.sortingOrder    = int_0;
        this.HOPO.sortingOrder    = int_0 + 1;
        this.SP_Rim.sortingOrder  = int_0 + 8;
        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 == 123)
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[-3];
            }
            else if (gclass6_0.method_8())
            {
                this.HOPO.sprite = this.sprite_0[-78];
            }
            if (bool_0)
            {
                this.Body.sprite = this.sprite_0[-3];
            }
            else
            {
                this.Body.sprite = this.sprite_0[96];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[-21];
                return;
            }
        }
        else
        {
            if (gclass6_0.Boolean_7)
            {
                this.HOPO.sprite = this.sprite_0[num + 8];
            }
            else if (gclass6_0.Boolean_6)
            {
                this.HOPO.sprite = this.sprite_0[num + 3];
            }
            if (bool_0)
            {
                this.SP_Rim.sprite = this.sprite_0[num + -77];
            }
            if (gclass6_0.Boolean_3)
            {
                this.SP_Bolt.sprite = this.sprite_0[89];
            }
            this.Body.sprite = this.sprite_0[num];
        }
    }