示例#1
0
    // Token: 0x06001501 RID: 5377 RVA: 0x00076CB0 File Offset: 0x00074EB0
    public AvatarDecoratorConfig CreateRagdoll(Loadout gearLoadout)
    {
        IUnityItem holo;

        if (gearLoadout.TryGetItem(LoadoutSlotType.GearHolo, out holo))
        {
            return(this.CreateHolo(holo));
        }
        return(this.CreateLutzRavinoff(gearLoadout));
    }
示例#2
0
    // Token: 0x06001884 RID: 6276 RVA: 0x000838F0 File Offset: 0x00081AF0
    public bool Compare(Loadout a)
    {
        bool flag = this.ItemCount == a.ItemCount;

        if (flag)
        {
            foreach (KeyValuePair <global::LoadoutSlotType, IUnityItem> keyValuePair in this._items)
            {
                IUnityItem unityItem;
                if (!a.TryGetItem(keyValuePair.Key, out unityItem))
                {
                    return(false);
                }
                if (unityItem != keyValuePair.Value)
                {
                    return(false);
                }
            }
            return(flag);
        }
        return(flag);
    }