Exemplo n.º 1
0
        // Token: 0x06002821 RID: 10273 RVA: 0x000ABB68 File Offset: 0x000A9D68
        private void OnUnlockCheck(UserProfile userProfile, string unlockableToken)
        {
            UnlockableDef unlockableDef = UnlockableCatalog.GetUnlockableDef(unlockableToken);

            if (unlockableDef == null)
            {
                return;
            }
            if (userProfile == base.userProfile && LogCollectorAchievement.IsUnlockableMonsterLog(unlockableDef))
            {
                this.Check();
            }
        }
Exemplo n.º 2
0
        // Token: 0x0600281F RID: 10271 RVA: 0x000ABB14 File Offset: 0x000A9D14
        private int MonsterLogCount()
        {
            StatSheet statSheet       = base.userProfile.statSheet;
            int       num             = 0;
            int       i               = 0;
            int       unlockableCount = statSheet.GetUnlockableCount();

            while (i < unlockableCount)
            {
                if (LogCollectorAchievement.IsUnlockableMonsterLog(statSheet.GetUnlockable(i)))
                {
                    num++;
                }
                i++;
            }
            return(num);
        }