Example #1
0
    // Token: 0x0600053F RID: 1343 RVA: 0x0004CDD8 File Offset: 0x0004AFD8
    private void ELMMBCJCEOB()
    {
        if (this.KEJQDPGPKBM == null)
        {
            return;
        }
        List <InvBaseItem> mkhifdnefbd = QJFLHFDQNPN.NJPHFKFPDPQ()[0].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, 70);
        invGameItem.itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel);
        this.KEJQDPGPKBM.CFFIKHGQDGP(invGameItem);
    }
Example #2
0
    // Token: 0x06000535 RID: 1333 RVA: 0x0004C88C File Offset: 0x0004AA8C
    private void LMIJQMCBOFB()
    {
        if (this.KEJQDPGPKBM == null)
        {
            return;
        }
        List <InvBaseItem> mkhifdnefbd = QJFLHFDQNPN.NJPHFKFPDPQ()[1].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, -124);
        invGameItem.itemLevel = IKBQNBHOJJB.CQKQFPNHPGE(invBaseItem.minItemLevel, invBaseItem.maxItemLevel);
        this.KEJQDPGPKBM.ODDDIPBOCGL(invGameItem);
    }
Example #3
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);
    }
Example #4
0
    // Token: 0x06000647 RID: 1607 RVA: 0x0004FAE4 File Offset: 0x0004DCE4
    public static InvBaseItem NJOKHHKELMP(string JFBMHEDJKEM)
    {
        int i   = 0;
        int num = QJFLHFDQNPN.NGDBDCQFDHI.Length;

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