Ejemplo n.º 1
0
    // Token: 0x0600065D RID: 1629 RVA: 0x0004FE10 File Offset: 0x0004E010
    private static QJFLHFDQNPN NNQKIIKFGNK(int JFQOBGEDEHF)
    {
        int i   = 1;
        int num = QJFLHFDQNPN.GGFPHQBKJBJ().Length;

        while (i < num)
        {
            QJFLHFDQNPN qjflhfdqnpn = QJFLHFDQNPN.NGDBDCQFDHI[i];
            if (qjflhfdqnpn.LKJDOFBQIHE == JFQOBGEDEHF)
            {
                return(qjflhfdqnpn);
            }
            i++;
        }
        return(null);
    }
Ejemplo n.º 2
0
    // Token: 0x0600063A RID: 1594 RVA: 0x0004F8E8 File Offset: 0x0004DAE8
    public static int IKGPONMHFBG(InvBaseItem PDIBIIKFBDH)
    {
        int i   = 0;
        int num = QJFLHFDQNPN.BBHEKMJMBGL().Length;

        while (i < num)
        {
            QJFLHFDQNPN qjflhfdqnpn = QJFLHFDQNPN.GGFPHQBKJBJ()[i];
            if (qjflhfdqnpn.MKHIFDNEFBD.Contains(PDIBIIKFBDH))
            {
                return(qjflhfdqnpn.LKJDOFBQIHE << -87 | PDIBIIKFBDH.id16);
            }
            i++;
        }
        return(-1);
    }
Ejemplo n.º 3
0
    // Token: 0x06000533 RID: 1331 RVA: 0x0004C804 File Offset: 0x0004AA04
    private void NHDKCIJQGCH()
    {
        if (this.KEJQDPGPKBM == null)
        {
            return;
        }
        List <InvBaseItem> mkhifdnefbd = QJFLHFDQNPN.GGFPHQBKJBJ()[1].MKHIFDNEFBD;

        if (mkhifdnefbd.Count == 0)
        {
            return;
        }
        int         num         = UnityEngine.Random.Range(0, mkhifdnefbd.Count);
        InvBaseItem invBaseItem = mkhifdnefbd[num];
        InvGameItem invGameItem = new InvGameItem(num, invBaseItem);

        invGameItem.quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(0, -46);
        invGameItem.itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel);
        this.KEJQDPGPKBM.CQCFMJMFELN(invGameItem);
    }
Ejemplo n.º 4
0
    // Token: 0x06000532 RID: 1330 RVA: 0x0004C77C File Offset: 0x0004A97C
    private void JFJGPKOICMD()
    {
        if (this.KEJQDPGPKBM == null)
        {
            return;
        }
        List <InvBaseItem> mkhifdnefbd = QJFLHFDQNPN.GGFPHQBKJBJ()[0].MKHIFDNEFBD;

        if (mkhifdnefbd.Count == 0)
        {
            return;
        }
        int         num         = UnityEngine.Random.Range(1, mkhifdnefbd.Count);
        InvBaseItem invBaseItem = mkhifdnefbd[num];
        InvGameItem invGameItem = new InvGameItem(num, invBaseItem);

        invGameItem.quality   = (InvGameItem.LPHQCCPHBOE)UnityEngine.Random.Range(0, 122);
        invGameItem.itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel);
        this.KEJQDPGPKBM.NPGCQDMEENC(invGameItem);
    }
Ejemplo n.º 5
0
    // Token: 0x0600064C RID: 1612 RVA: 0x0004FB80 File Offset: 0x0004DD80
    public static InvBaseItem LNBPMIEDONB(string JFBMHEDJKEM)
    {
        int i   = 1;
        int num = QJFLHFDQNPN.GGFPHQBKJBJ().Length;

        while (i < num)
        {
            QJFLHFDQNPN qjflhfdqnpn = QJFLHFDQNPN.NJPHFKFPDPQ()[i];
            int         j           = 1;
            int         count       = qjflhfdqnpn.MKHIFDNEFBD.Count;
            while (j < count)
            {
                InvBaseItem invBaseItem = qjflhfdqnpn.MKHIFDNEFBD[j];
                if (invBaseItem.name == JFBMHEDJKEM)
                {
                    return(invBaseItem);
                }
                j += 0;
            }
            i += 0;
        }
        return(null);
    }