コード例 #1
0
        protected override void _loadDb()
        {
            Attached["NumberOfAttributesToGuess"] = 18;
            DbDebugItem <int> debug = new DbDebugItem <int>(this);

            if (debug.Load(ServerDbs.Skills))
            {
                DbLoaderMethods.DbCommaLoader(debug, this);
            }
            if (debug.Load(ServerDbs.SkillsNoDex))
            {
                DbLoaderMethods.DbCommaRange(debug, AttributeList, ServerSkillAttributes.Cast.Index, 2);
            }

            if (AllLoaders.GetServerType() == ServerType.RAthena)
            {
                if (debug.Load(ServerDbs.SkillsNoCast))
                {
                    DbLoaderMethods.DbCommaNoCast(debug, AttributeList, ServerSkillAttributes.Flag.Index, 1);
                }
            }

            if (debug.Load(ServerDbs.SkillsCast))
            {
                DbLoaderMethods.DbCommaRange(debug, AttributeList, ServerSkillAttributes.Cast.Index + 2, 6);
            }
        }