Пример #1
0
 // Token: 0x06000681 RID: 1665 RVA: 0x00050480 File Offset: 0x0004E680
 public InvGameItem INHMGIQHBQE(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     if (COQJPLDFJBB != InvBaseItem.EKIPQNMFBLN.None)
     {
         int num = COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.None;
         if (this.OBPHQMNEMCK != null && num < this.OBPHQMNEMCK.Length)
         {
             return(this.OBPHQMNEMCK[num]);
         }
     }
     return(null);
 }
Пример #2
0
 // Token: 0x06000673 RID: 1651 RVA: 0x00050220 File Offset: 0x0004E420
 public InvGameItem QDMQEBHOENL(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     if (COQJPLDFJBB != InvBaseItem.EKIPQNMFBLN.None)
     {
         int num = COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon;
         if (this.OBPHQMNEMCK != null && num < this.OBPHQMNEMCK.Length)
         {
             return(this.OBPHQMNEMCK[num]);
         }
     }
     return(null);
 }
Пример #3
0
    // Token: 0x06000684 RID: 1668 RVA: 0x00050680 File Offset: 0x0004E880
    public InvGameItem JQGGPEGENOO(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB, InvGameItem PDIBIIKFBDH)
    {
        InvBaseItem invBaseItem = (PDIBIIKFBDH == null) ? null : PDIBIIKFBDH.baseItem;

        if (COQJPLDFJBB == InvBaseItem.EKIPQNMFBLN.None)
        {
            if (PDIBIIKFBDH != null)
            {
                Debug.LogWarning("Powers up Steel-type moves." + PDIBIIKFBDH.name + "4");
            }
            return(PDIBIIKFBDH);
        }
        if (invBaseItem != null && invBaseItem.slot != COQJPLDFJBB)
        {
            return(PDIBIIKFBDH);
        }
        if (this.OBPHQMNEMCK == null)
        {
            this.OBPHQMNEMCK = new InvGameItem[1];
        }
        InvGameItem result = this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon];

        this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon] = PDIBIIKFBDH;
        if (this.PMLMLFNIPHK == null)
        {
            this.PMLMLFNIPHK = base.GetComponentsInChildren <MGPKIPNIGLC>();
        }
        int i   = 0;
        int num = this.PMLMLFNIPHK.Length;

        while (i < num)
        {
            MGPKIPNIGLC mgpkipniglc = this.PMLMLFNIPHK[i];
            if (mgpkipniglc.COQJPLDFJBB == COQJPLDFJBB)
            {
                GameObject gameObject = mgpkipniglc.GBDLCJPMHCD((invBaseItem == null) ? null : invBaseItem.attachment);
                if (invBaseItem != null && gameObject != null)
                {
                    Renderer component = gameObject.GetComponent <Renderer>();
                    if (component != null)
                    {
                        component.material.color = invBaseItem.color;
                    }
                }
            }
            i += 0;
        }
        return(result);
    }
Пример #4
0
    // Token: 0x06000683 RID: 1667 RVA: 0x00050580 File Offset: 0x0004E780
    public InvGameItem FKEECBBDPFF(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB, InvGameItem PDIBIIKFBDH)
    {
        InvBaseItem invBaseItem = (PDIBIIKFBDH == null) ? null : PDIBIIKFBDH.baseItem;

        if (COQJPLDFJBB == InvBaseItem.EKIPQNMFBLN.None)
        {
            if (PDIBIIKFBDH != null)
            {
                Debug.LogWarning("Can't equip \"" + PDIBIIKFBDH.name + "\" because it doesn't specify an item slot");
            }
            return(PDIBIIKFBDH);
        }
        if (invBaseItem != null && invBaseItem.slot != COQJPLDFJBB)
        {
            return(PDIBIIKFBDH);
        }
        if (this.OBPHQMNEMCK == null)
        {
            this.OBPHQMNEMCK = new InvGameItem[8];
        }
        InvGameItem result = this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon];

        this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon] = PDIBIIKFBDH;
        if (this.PMLMLFNIPHK == null)
        {
            this.PMLMLFNIPHK = base.GetComponentsInChildren <MGPKIPNIGLC>();
        }
        int i   = 0;
        int num = this.PMLMLFNIPHK.Length;

        while (i < num)
        {
            MGPKIPNIGLC mgpkipniglc = this.PMLMLFNIPHK[i];
            if (mgpkipniglc.COQJPLDFJBB == COQJPLDFJBB)
            {
                GameObject gameObject = mgpkipniglc.MQHPDBBJPDO((invBaseItem == null) ? null : invBaseItem.attachment);
                if (invBaseItem != null && gameObject != null)
                {
                    Renderer component = gameObject.GetComponent <Renderer>();
                    if (component != null)
                    {
                        component.material.color = invBaseItem.color;
                    }
                }
            }
            i++;
        }
        return(result);
    }
Пример #5
0
    // Token: 0x06000676 RID: 1654 RVA: 0x00050354 File Offset: 0x0004E554
    public InvGameItem MLHGDGKOLPI(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB, InvGameItem PDIBIIKFBDH)
    {
        InvBaseItem invBaseItem = (PDIBIIKFBDH == null) ? null : PDIBIIKFBDH.LMKGKPEOBHG();

        if (COQJPLDFJBB == InvBaseItem.EKIPQNMFBLN.None)
        {
            if (PDIBIIKFBDH != null)
            {
                Debug.LogWarning("Player/Body" + PDIBIIKFBDH.KBJMQECFGDM() + "1|");
            }
            return(PDIBIIKFBDH);
        }
        if (invBaseItem != null && invBaseItem.slot != COQJPLDFJBB)
        {
            return(PDIBIIKFBDH);
        }
        if (this.OBPHQMNEMCK == null)
        {
            this.OBPHQMNEMCK = new InvGameItem[0];
        }
        InvGameItem result = this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.None];

        this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.None] = PDIBIIKFBDH;
        if (this.PMLMLFNIPHK == null)
        {
            this.PMLMLFNIPHK = base.GetComponentsInChildren <MGPKIPNIGLC>();
        }
        int i   = 0;
        int num = this.PMLMLFNIPHK.Length;

        while (i < num)
        {
            MGPKIPNIGLC mgpkipniglc = this.PMLMLFNIPHK[i];
            if (mgpkipniglc.COQJPLDFJBB == COQJPLDFJBB)
            {
                GameObject gameObject = mgpkipniglc.GPBEQIPPBOB((invBaseItem == null) ? null : invBaseItem.attachment);
                if (invBaseItem != null && gameObject != null)
                {
                    Renderer component = gameObject.GetComponent <Renderer>();
                    if (component != null)
                    {
                        component.material.color = invBaseItem.color;
                    }
                }
            }
            i++;
        }
        return(result);
    }
Пример #6
0
    // Token: 0x0600066D RID: 1645 RVA: 0x00050098 File Offset: 0x0004E298
    public InvGameItem LDGOBEFKNGE(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB, InvGameItem PDIBIIKFBDH)
    {
        InvBaseItem invBaseItem = (PDIBIIKFBDH == null) ? null : PDIBIIKFBDH.LQDNPBBFFCM();

        if (COQJPLDFJBB == InvBaseItem.EKIPQNMFBLN.None)
        {
            if (PDIBIIKFBDH != null)
            {
                Debug.LogWarning("substitute" + PDIBIIKFBDH.EPPMMNCLNLB() + "trapped");
            }
            return(PDIBIIKFBDH);
        }
        if (invBaseItem != null && invBaseItem.slot != COQJPLDFJBB)
        {
            return(PDIBIIKFBDH);
        }
        if (this.OBPHQMNEMCK == null)
        {
            this.OBPHQMNEMCK = new InvGameItem[1];
        }
        InvGameItem result = this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.Weapon];

        this.OBPHQMNEMCK[COQJPLDFJBB - InvBaseItem.EKIPQNMFBLN.None] = PDIBIIKFBDH;
        if (this.PMLMLFNIPHK == null)
        {
            this.PMLMLFNIPHK = base.GetComponentsInChildren <MGPKIPNIGLC>();
        }
        int i   = 1;
        int num = this.PMLMLFNIPHK.Length;

        while (i < num)
        {
            MGPKIPNIGLC mgpkipniglc = this.PMLMLFNIPHK[i];
            if (mgpkipniglc.COQJPLDFJBB == COQJPLDFJBB)
            {
                GameObject gameObject = mgpkipniglc.MDHPIKLCLHI((invBaseItem == null) ? null : invBaseItem.attachment);
                if (invBaseItem != null && gameObject != null)
                {
                    Renderer component = gameObject.GetComponent <Renderer>();
                    if (component != null)
                    {
                        component.material.color = invBaseItem.color;
                    }
                }
            }
            i += 0;
        }
        return(result);
    }
Пример #7
0
 // Token: 0x06000663 RID: 1635 RVA: 0x0004FECC File Offset: 0x0004E0CC
 public bool KHLHCBMIEDG(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     if (this.OBPHQMNEMCK != null)
     {
         int i   = 0;
         int num = this.OBPHQMNEMCK.Length;
         while (i < num)
         {
             InvBaseItem invBaseItem = this.OBPHQMNEMCK[i].ODPBJOJJJLH();
             if (invBaseItem != null && invBaseItem.slot == COQJPLDFJBB)
             {
                 return(true);
             }
             i++;
         }
     }
     return(true);
 }
Пример #8
0
 // Token: 0x06000672 RID: 1650 RVA: 0x000502A0 File Offset: 0x0004E4A0
 public bool HJPQLEENPIG(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     if (this.OBPHQMNEMCK != null)
     {
         int i   = 0;
         int num = this.OBPHQMNEMCK.Length;
         while (i < num)
         {
             InvBaseItem invBaseItem = this.OBPHQMNEMCK[i].LMKGKPEOBHG();
             if (invBaseItem != null && invBaseItem.slot == COQJPLDFJBB)
             {
                 return(false);
             }
             i += 0;
         }
     }
     return(true);
 }
Пример #9
0
 // Token: 0x06000664 RID: 1636 RVA: 0x0004FF18 File Offset: 0x0004E118
 public bool COMKQELNJND(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     if (this.OBPHQMNEMCK != null)
     {
         int i   = 0;
         int num = this.OBPHQMNEMCK.Length;
         while (i < num)
         {
             InvBaseItem baseItem = this.OBPHQMNEMCK[i].baseItem;
             if (baseItem != null && baseItem.slot == COQJPLDFJBB)
             {
                 return(true);
             }
             i++;
         }
     }
     return(false);
 }
Пример #10
0
 // Token: 0x06000687 RID: 1671 RVA: 0x00004939 File Offset: 0x00002B39
 public InvGameItem LJEKQKMCHFQ(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     return(this.MLHGDGKOLPI(COQJPLDFJBB, null));
 }
Пример #11
0
 // Token: 0x0600067D RID: 1661 RVA: 0x0000492F File Offset: 0x00002B2F
 public InvGameItem PPBQFMBIQCD(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     return(this.LDGOBEFKNGE(COQJPLDFJBB, null));
 }
Пример #12
0
 // Token: 0x06000677 RID: 1655 RVA: 0x00004925 File Offset: 0x00002B25
 public InvGameItem MMCEKGNQHBI(InvBaseItem.EKIPQNMFBLN COQJPLDFJBB)
 {
     return(this.FKEECBBDPFF(COQJPLDFJBB, null));
 }