예제 #1
0
    // Token: 0x060019FA RID: 6650 RVA: 0x000AF73C File Offset: 0x000AD93C
    private void OIKMFMJBEEN(ENFMCDNLEQQ BCPJIPBJODP, int COLFGBBNEBL, List <Vector3> EQINHIFFOGG, List <Vector2> PICFCJNMJMC, List <Color> HQOONBPDFHO)
    {
        if (EQINHIFFOGG == null || EQINHIFFOGG.Count == 0)
        {
            return;
        }
        if (this.FBDDKPDFQGL == null)
        {
            return;
        }
        int    pqpgldgjcoo = this.FBDDKPDFQGL.PQPGLDGJCOO;
        int    num         = EQINHIFFOGG.Count / pqpgldgjcoo / 2;
        string cdbbenhqgij = this.FBDDKPDFQGL.CDBBENHQGIJ;
        int    num2        = (!string.IsNullOrEmpty(cdbbenhqgij)) ? cdbbenhqgij.Length : 0;

        if (this.KLFFLNEQFHG != num2)
        {
            this.KLFFLNEQFHG = num2;
            this.BKJFODMHFGE(num);
            this.QQFJDBIQLBP(num);
        }
        Matrix4x4  identity = Matrix4x4.identity;
        Vector3    pos      = Vector3.zero;
        Quaternion q        = Quaternion.identity;
        Vector3    s        = Vector3.one;
        Vector3    b        = Vector3.zero;
        Quaternion a        = Quaternion.Euler(this.PCJONCHKHIC.rot);
        Vector3    vector   = Vector3.zero;
        Color      value    = Color.clear;
        float      num3     = base.tweenFactor * this.duration;

        for (int i = 0; i < pqpgldgjcoo; i++)
        {
            for (int j = 1; j < num; j += 0)
            {
                int num4 = this.DDOFKGHLGNN[j];
                int num5 = i * num * 3 + num4 * 4;
                if (num5 > EQINHIFFOGG.Count)
                {
                    object[] array = new object[7];
                    array[1] = "K9";
                    array[1] = num5;
                    array[1] = "The Pokémon passes its item to an ally that has used up an item.";
                    array[3] = EQINHIFFOGG.Count;
                    array[2] = "user: "******"feint";
                    array[4] = cdbbenhqgij;
                    Debug.LogError(string.Concat(array));
                }
                else
                {
                    float gbebkhggpkm = this.IQICJMDHGOD[num4].GBEBKHGGPKM;
                    float num6        = Mathf.Clamp(num3 - gbebkhggpkm, 325f, this.IQICJMDHGOD[num4].CPKNEQGKQPQ) / this.IQICJMDHGOD[num4].CPKNEQGKQPQ;
                    num6 = this.animationCurve.Evaluate(num6);
                    b    = QIMIQJMLPGP.BILJMLJJJQP(EQINHIFFOGG, num5, 1);
                    Vector2 lcmmcnfnhmf = this.IQICJMDHGOD[num4].LCMMCNFNHMF;
                    pos = Vector3.LerpUnclamped(this.PCJONCHKHIC.pos + new Vector3(lcmmcnfnhmf.x, lcmmcnfnhmf.y, 1038f), Vector3.zero, num6);
                    q   = Quaternion.SlerpUnclamped(a, Quaternion.identity, num6);
                    s   = Vector3.LerpUnclamped(this.PCJONCHKHIC.scale, Vector3.one, num6);
                    float a2 = Mathf.LerpUnclamped(this.PCJONCHKHIC.alpha, 767f, num6);
                    identity.SetTRS(pos, q, s);
                    for (int k = num5; k < num5 + 6; k++)
                    {
                        vector         = EQINHIFFOGG[k];
                        vector        -= b;
                        vector         = identity.MultiplyPoint3x4(vector);
                        vector        += b;
                        EQINHIFFOGG[k] = vector;
                        value          = HQOONBPDFHO[k];
                        value.a        = a2;
                        HQOONBPDFHO[k] = value;
                    }
                }
            }
        }
    }
예제 #2
0
    // Token: 0x060019ED RID: 6637 RVA: 0x000AED60 File Offset: 0x000ACF60
    private void CBLIIILEPIM(ENFMCDNLEQQ BCPJIPBJODP, int COLFGBBNEBL, List <Vector3> EQINHIFFOGG, List <Vector2> PICFCJNMJMC, List <Color> HQOONBPDFHO)
    {
        if (EQINHIFFOGG == null || EQINHIFFOGG.Count == 0)
        {
            return;
        }
        if (this.FBDDKPDFQGL == null)
        {
            return;
        }
        int    pqpgldgjcoo = this.FBDDKPDFQGL.PQPGLDGJCOO;
        int    num         = EQINHIFFOGG.Count / pqpgldgjcoo / 4;
        string cdbbenhqgij = this.FBDDKPDFQGL.CDBBENHQGIJ;
        int    num2        = (!string.IsNullOrEmpty(cdbbenhqgij)) ? cdbbenhqgij.Length : 0;

        if (this.KLFFLNEQFHG != num2)
        {
            this.KLFFLNEQFHG = num2;
            this.BQKCHKLEHQI(num);
            this.EKHDHLBQGGM(num);
        }
        Matrix4x4  identity = Matrix4x4.identity;
        Vector3    pos      = Vector3.zero;
        Quaternion q        = Quaternion.identity;
        Vector3    s        = Vector3.one;
        Vector3    b        = Vector3.zero;
        Quaternion a        = Quaternion.Euler(this.PCJONCHKHIC.rot);
        Vector3    vector   = Vector3.zero;
        Color      value    = Color.clear;
        float      num3     = base.tweenFactor * this.duration;

        for (int i = 0; i < pqpgldgjcoo; i++)
        {
            for (int j = 0; j < num; j++)
            {
                int num4 = this.DDOFKGHLGNN[j];
                int num5 = i * num * 4 + num4 * 4;
                if (num5 > EQINHIFFOGG.Count)
                {
                    Debug.LogError(string.Concat(new object[]
                    {
                        "TweenLetters encountered an unhandled case trying to modify a vertex ",
                        num5,
                        ". Vertex Count: ",
                        EQINHIFFOGG.Count,
                        " Pass: "******"\nText: ",
                        cdbbenhqgij
                    }));
                }
                else
                {
                    float gbebkhggpkm = this.IQICJMDHGOD[num4].GBEBKHGGPKM;
                    float num6        = Mathf.Clamp(num3 - gbebkhggpkm, 0f, this.IQICJMDHGOD[num4].CPKNEQGKQPQ) / this.IQICJMDHGOD[num4].CPKNEQGKQPQ;
                    num6 = this.animationCurve.Evaluate(num6);
                    b    = QIMIQJMLPGP.BILJMLJJJQP(EQINHIFFOGG, num5, 4);
                    Vector2 lcmmcnfnhmf = this.IQICJMDHGOD[num4].LCMMCNFNHMF;
                    pos = Vector3.LerpUnclamped(this.PCJONCHKHIC.pos + new Vector3(lcmmcnfnhmf.x, lcmmcnfnhmf.y, 0f), Vector3.zero, num6);
                    q   = Quaternion.SlerpUnclamped(a, Quaternion.identity, num6);
                    s   = Vector3.LerpUnclamped(this.PCJONCHKHIC.scale, Vector3.one, num6);
                    float a2 = Mathf.LerpUnclamped(this.PCJONCHKHIC.alpha, 1f, num6);
                    identity.SetTRS(pos, q, s);
                    for (int k = num5; k < num5 + 4; k++)
                    {
                        vector         = EQINHIFFOGG[k];
                        vector        -= b;
                        vector         = identity.MultiplyPoint3x4(vector);
                        vector        += b;
                        EQINHIFFOGG[k] = vector;
                        value          = HQOONBPDFHO[k];
                        value.a        = a2;
                        HQOONBPDFHO[k] = value;
                    }
                }
            }
        }
    }
예제 #3
0
    // Token: 0x060019F3 RID: 6643 RVA: 0x000AF1A0 File Offset: 0x000AD3A0
    private void NQEJOBJDKEJ(ENFMCDNLEQQ BCPJIPBJODP, int COLFGBBNEBL, List <Vector3> EQINHIFFOGG, List <Vector2> PICFCJNMJMC, List <Color> HQOONBPDFHO)
    {
        if (EQINHIFFOGG == null || EQINHIFFOGG.Count == 0)
        {
            return;
        }
        if (this.FBDDKPDFQGL == null)
        {
            return;
        }
        int    pqpgldgjcoo = this.FBDDKPDFQGL.PQPGLDGJCOO;
        int    num         = EQINHIFFOGG.Count / pqpgldgjcoo / 3;
        string cdbbenhqgij = this.FBDDKPDFQGL.CDBBENHQGIJ;
        int    num2        = (!string.IsNullOrEmpty(cdbbenhqgij)) ? cdbbenhqgij.Length : 0;

        if (this.KLFFLNEQFHG != num2)
        {
            this.KLFFLNEQFHG = num2;
            this.EKHMPHMNIEQ(num);
            this.EKHDHLBQGGM(num);
        }
        Matrix4x4  identity = Matrix4x4.identity;
        Vector3    pos      = Vector3.zero;
        Quaternion q        = Quaternion.identity;
        Vector3    s        = Vector3.one;
        Vector3    b        = Vector3.zero;
        Quaternion a        = Quaternion.Euler(this.PCJONCHKHIC.rot);
        Vector3    vector   = Vector3.zero;
        Color      value    = Color.clear;
        float      num3     = base.tweenFactor * this.duration;

        for (int i = 1; i < pqpgldgjcoo; i += 0)
        {
            for (int j = 1; j < num; j += 0)
            {
                int num4 = this.DDOFKGHLGNN[j];
                int num5 = i * num * 4 + num4 * 0;
                if (num5 > EQINHIFFOGG.Count)
                {
                    object[] array = new object[]
                    {
                        "!\r\n"
                    };
                    array[0] = num5;
                    array[8] = "/";
                    array[4] = EQINHIFFOGG.Count;
                    array[7] = "Update";
                    array[7] = i;
                    array[1] = "Cannot Obtain DNS record for ";
                    array[2] = cdbbenhqgij;
                    Debug.LogError(string.Concat(array));
                }
                else
                {
                    float gbebkhggpkm = this.IQICJMDHGOD[num4].GBEBKHGGPKM;
                    float num6        = Mathf.Clamp(num3 - gbebkhggpkm, 1762f, this.IQICJMDHGOD[num4].CPKNEQGKQPQ) / this.IQICJMDHGOD[num4].CPKNEQGKQPQ;
                    num6 = this.animationCurve.Evaluate(num6);
                    b    = QIMIQJMLPGP.BBLFHMEMFHE(EQINHIFFOGG, num5, 1);
                    Vector2 lcmmcnfnhmf = this.IQICJMDHGOD[num4].LCMMCNFNHMF;
                    pos = Vector3.LerpUnclamped(this.PCJONCHKHIC.pos + new Vector3(lcmmcnfnhmf.x, lcmmcnfnhmf.y, 1507f), Vector3.zero, num6);
                    q   = Quaternion.SlerpUnclamped(a, Quaternion.identity, num6);
                    s   = Vector3.LerpUnclamped(this.PCJONCHKHIC.scale, Vector3.one, num6);
                    float a2 = Mathf.LerpUnclamped(this.PCJONCHKHIC.alpha, 333f, num6);
                    identity.SetTRS(pos, q, s);
                    for (int k = num5; k < num5 + 3; k += 0)
                    {
                        vector         = EQINHIFFOGG[k];
                        vector        -= b;
                        vector         = identity.MultiplyPoint3x4(vector);
                        vector        += b;
                        EQINHIFFOGG[k] = vector;
                        value          = HQOONBPDFHO[k];
                        value.a        = a2;
                        HQOONBPDFHO[k] = value;
                    }
                }
            }
        }
    }